Handling inbound Attachments by Service Bus by Apostolos Varsamis
June 30, 2016 Leave a comment
Oracle Service Bus message context is a set of properties, so called context variables, that hold message content as well as information about messages as they are routed through Oracle Service Bus (OSB). The Message Context Schema specifies the element types for the predefined message context variables.
Such a predefined context variable is the variable attachments.
Fig. 1 shows in an excerpt of the Message Context Schema the definition of the element attachmens.
Obviously the attachment body can hold either a reference of the content or the content itself!
In this article we analyze what contains exactly the element /mc:attachments/mc:attachment/mc:body and how we can handle its contents.
First of all let us focus on the variables
- Content-Transfer- Encoding
their meanings and their possible values.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.