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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend()Ends the build of the data format.writeInJson(boolean writeInJson) The flag indicating that messages must be marshalled in a JSON format.writeInJson(String writeInJson) The flag indicating that messages must be marshalled in a JSON format.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
writeInJson
The flag indicating that messages must be marshalled in a JSON format.- Parameters:
writeInJson-trueif messages must be marshalled in a JSON format,falseotherwise.
-
writeInJson
The flag indicating that messages must be marshalled in a JSON format.- Parameters:
writeInJson-trueif messages must be marshalled in a JSON format,falseotherwise.
-
end
Description copied from interface:DataFormatBuilderEnds the build of the data format.- Specified by:
endin interfaceDataFormatBuilder<SwiftMtDataFormat>- Returns:
- the data format fully built.
-