Class SwiftMxDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.SwiftMxDataFormat
@Metadata(firstVersion="3.20.0",
label="dataformat,transformation,swift",
title="SWIFT MX")
public class SwiftMxDataFormat
extends DataFormatDefinition
Encode and decode SWIFT MX messages.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilderis a specific builder forSwiftMxDataFormat. -
Constructor Summary
ConstructorsConstructorDescriptionSwiftMxDataFormat(boolean writeInJson) SwiftMxDataFormat(boolean writeInJson, String readMessageId, Object readConfig) SwiftMxDataFormat(boolean writeInJson, String readMessageId, String readConfigRef) SwiftMxDataFormat(Object writeConfig, String readMessageId, Object readConfig) SwiftMxDataFormat(String writeConfigRef, String readMessageId, String readConfigRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetReadConfig(Object readConfig) The specific configuration to use when unmarshalling an input stream.voidsetReadConfigRef(String readConfigRef) Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.voidsetReadMessageId(String readMessageId) The type of MX message to produce when unmarshalling an input stream.voidsetWriteConfig(Object writeConfig) The specific configuration to use when marshalling a message.voidsetWriteConfigRef(String writeConfigRef) Refers to a specific configuration to use when marshalling a message to lookup from the registry.voidsetWriteInJson(String writeInJson) The flag indicating that messages must be marshalled in a JSON format.Methods inherited from class org.apache.camel.model.DataFormatDefinition
getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatNameMethods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
Constructor Details
-
SwiftMxDataFormat
public SwiftMxDataFormat() -
SwiftMxDataFormat
public SwiftMxDataFormat(boolean writeInJson) -
SwiftMxDataFormat
-
SwiftMxDataFormat
-
SwiftMxDataFormat
-
SwiftMxDataFormat
-
-
Method Details
-
getWriteConfig
-
setWriteConfig
The specific configuration to use when marshalling a message. -
getWriteInJson
-
setWriteInJson
The flag indicating that messages must be marshalled in a JSON format.- Parameters:
writeInJson-trueif messages must be marshalled in a JSON format,falseotherwise.
-
getReadMessageId
-
setReadMessageId
The type of MX message to produce when unmarshalling an input stream. If not set, it will be automatically detected from the namespace used. -
getReadConfig
-
setReadConfig
The specific configuration to use when unmarshalling an input stream. -
getWriteConfigRef
-
setWriteConfigRef
Refers to a specific configuration to use when marshalling a message to lookup from the registry. -
getReadConfigRef
-
setReadConfigRef
Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.
-