Class SwiftMxDataFormat.Builder
java.lang.Object
org.apache.camel.model.dataformat.SwiftMxDataFormat.Builder
- All Implemented Interfaces:
DataFormatBuilder<SwiftMxDataFormat>
- Enclosing class:
- SwiftMxDataFormat
public static class SwiftMxDataFormat.Builder
extends Object
implements DataFormatBuilder<SwiftMxDataFormat>
Builder
is a specific builder for SwiftMxDataFormat
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend()
Ends the build of the data format.readConfig
(Object readConfig) The specific configuration to use when unmarshalling an input stream.readConfigRef
(String readConfigRef) Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.readMessageId
(String readMessageId) The type of MX message to produce when unmarshalling an input stream.writeConfig
(Object writeConfig) The specific configuration to use when marshalling a message.writeConfigRef
(String writeConfigRef) Refers to a specific configuration to use when marshalling a message to lookup from the registry.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
-
writeConfig
The specific configuration to use when marshalling a message. -
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
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.
-
readMessageId
The type of MX message to produce when unmarshalling an input stream. If not set, it will be automatically detected from the namespace used. -
readConfig
The specific configuration to use when unmarshalling an input stream. -
writeConfigRef
Refers to a specific configuration to use when marshalling a message to lookup from the registry. -
readConfigRef
Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry. -
end
Description copied from interface:DataFormatBuilder
Ends the build of the data format.- Specified by:
end
in interfaceDataFormatBuilder<SwiftMxDataFormat>
- Returns:
- the data format fully built.
-