Class SwiftMtDataFormat.Builder

java.lang.Object
org.apache.camel.model.dataformat.SwiftMtDataFormat.Builder
All Implemented Interfaces:
DataFormatBuilder<SwiftMtDataFormat>
Enclosing class:
SwiftMtDataFormat

public static class SwiftMtDataFormat.Builder extends Object implements DataFormatBuilder<SwiftMtDataFormat>
Builder is a specific builder for SwiftMtDataFormat.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • writeInJson

      public SwiftMtDataFormat.Builder writeInJson(String writeInJson)
      The flag indicating that messages must be marshalled in a JSON format.
      Parameters:
      writeInJson - true if messages must be marshalled in a JSON format, false otherwise.
    • writeInJson

      public SwiftMtDataFormat.Builder writeInJson(boolean writeInJson)
      The flag indicating that messages must be marshalled in a JSON format.
      Parameters:
      writeInJson - true if messages must be marshalled in a JSON format, false otherwise.
    • end

      public SwiftMtDataFormat end()
      Description copied from interface: DataFormatBuilder
      Ends the build of the data format.
      Specified by:
      end in interface DataFormatBuilder<SwiftMtDataFormat>
      Returns:
      the data format fully built.