MTOM Output Processor
MTOM Output Processor in the eiConsole converts a SOAP Request into an MTOM (Message Transmission Optimization Mechanism) message and includes attachments.
Processor (Adapter) Configuration Drop-Down List
Select MTOM Output from the drop-down and click on Add Processor.
Click on Add Processor
Similar to the MTOM Input Processor configuration, the MTOM Output Processor first requires specifying a parameter source, which is either XPath or Literal-based. Both the XPath and Literal configuration tabs provide fields for naming attachments and identifying them.
Basic MTOM Output Processor Configuration Options
On the Basic tab you can set:
- Boundary – this is the boundary string used for the attachments’ file
- Content ID – this is the content ID used for the message Content-ID: value
- Parameter Source – enables XPath mode or Literal mode
Conditional Execution MTOM Output Processor Configuration Options
On the Conditional Execution tab, you can set additional Processor execution conditions. The transaction data-dependent condition may be specified here as an enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped. No additional configuration for this Processor is required.
MTOM Output Processor Conditional Execution Configuration Options
XPath MTOM Output Processor Configuration Options
On the XPath tab you can set:
- MIME Type XPath – this is the XPath location of the MIME type of the attached file
- Encoding Type XPath – this is the XPath location of the encoding type of the attached file
- Content ID XPath – this is the XPath location of the Content ID of the attached file
- File Name XPath – this is the XPath location of the full name of the attached file
Literal MTOM Output Processor Configuration Options
On the Literal tab you can set:
- File Path – this is the XPath location of the full name of the attached file
- File Table – the file names and properties to be used. Properties are MIME type, encoding and content ID; separated by tilde (~).