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 Classes Modifier and Type Class Description static class
SwiftMxDataFormat.Builder
Builder
is a specific builder forSwiftMxDataFormat
.
-
Constructor Summary
Constructors Constructor Description SwiftMxDataFormat()
SwiftMxDataFormat(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getReadConfig()
String
getReadConfigRef()
String
getReadMessageId()
Object
getWriteConfig()
String
getWriteConfigRef()
String
getWriteInJson()
void
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 Detail
-
SwiftMxDataFormat
public SwiftMxDataFormat()
-
SwiftMxDataFormat
public SwiftMxDataFormat(boolean writeInJson)
-
SwiftMxDataFormat
public SwiftMxDataFormat(boolean writeInJson, String readMessageId, Object readConfig)
-
SwiftMxDataFormat
public SwiftMxDataFormat(boolean writeInJson, String readMessageId, String readConfigRef)
-
SwiftMxDataFormat
public SwiftMxDataFormat(Object writeConfig, String readMessageId, Object readConfig)
-
-
Method Detail
-
getWriteConfig
public Object getWriteConfig()
-
setWriteConfig
public void setWriteConfig(Object writeConfig)
The specific configuration to use when marshalling a message.
-
getWriteInJson
public String getWriteInJson()
-
setWriteInJson
public void setWriteInJson(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.
-
getReadMessageId
public String getReadMessageId()
-
setReadMessageId
public void setReadMessageId(String 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.
-
getReadConfig
public Object getReadConfig()
-
setReadConfig
public void setReadConfig(Object readConfig)
The specific configuration to use when unmarshalling an input stream.
-
getWriteConfigRef
public String getWriteConfigRef()
-
setWriteConfigRef
public void setWriteConfigRef(String writeConfigRef)
Refers to a specific configuration to use when marshalling a message to lookup from the registry.
-
getReadConfigRef
public String getReadConfigRef()
-
setReadConfigRef
public void setReadConfigRef(String readConfigRef)
Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.
-
-