Class SwiftMxDataFormat


  • @Metadata(firstVersion="3.20.0",
              label="dataformat,transformation,swift",
              title="SWIFT MX")
    public class SwiftMxDataFormat
    extends DataFormatDefinition
    Encode and decode SWIFT MX messages.
    • 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)
      • SwiftMxDataFormat

        public SwiftMxDataFormat​(String writeConfigRef,
                                 String readMessageId,
                                 String readConfigRef)
    • 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.