User defined unmarshalling transformer
User-defined UnMarshalling Transformer
The Unmarshalling Transformer is a Service which can transform XML input to a POJO via a Marshaller definition. The Marshaller can be JAXB or Castor or any other Marshaller that is supported by Spring. The result of the service is a POJO object on the configured MessagePart.
For this Service you need to create a Bean and save it in the Resources. The format of the MessagePart-In has to be String or Document. The format of the MessagePart-Out is always Object.
In the table below, you will find an explanation of these properties. All attributes with a ‘*’ are mandatory.
Attribute |
Description |
Name* |
By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional. |
Enabled |
Set this value to true, if you want to enable this service at startup. |
MessagePart-In |
Here, you can specify the name of the MessagePart, which will be used as input. The default value is msgprt0. Only use this when you are in fact using different names and/or MessageParts. |
MessagePart-Out |
Here, you can specify the name of the MessagePart, which will be used as output for the service method. The default value is msgprt0. The output type is Object. |
Unmarshaller Bean Reference* |
Here, you can choose an existing Unmarshaller Bean. The Bean needs to be known within the corresponding Interface in the Interface Overview. |