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
Modifier and TypeClassDescriptionstatic class
Builder
is a specific builder forSwiftMxDataFormat
. -
Constructor Summary
ConstructorDescriptionSwiftMxDataFormat
(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 TypeMethodDescriptionvoid
setReadConfig
(Object readConfig) The specific configuration to use when unmarshalling an input stream.void
setReadConfigRef
(String readConfigRef) Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.void
setReadMessageId
(String readMessageId) The type of MX message to produce when unmarshalling an input stream.void
setWriteConfig
(Object writeConfig) The specific configuration to use when marshalling a message.void
setWriteConfigRef
(String writeConfigRef) Refers to a specific configuration to use when marshalling a message to lookup from the registry.void
setWriteInJson
(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, setDataFormatName
Methods 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
-true
if messages must be marshalled in a JSON format,false
otherwise.
-
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.
-