|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (5)
View Page HistoryThe JBI exchange is transformed to a Camel exchange.
Its properties are put (by reference) into the Camel exchange properties (by reference), prefixed by "PetalsOriginalProperty."
Its interface and service names, the endpoint, the operation name and the MEP are put into the Camel exchange properties "PetalsOriginalInterface" (as a QName), "PetalsOriginalService" (as a QName), "PetalsOriginalEndpoint" (as a ServiceEndpoint), "PetalsOriginalOperation" (as a QName), "PetalsOriginalPattern" (as an URI).
Its In normalized message is transformed to a Camel message.
Its In normalized message is transformed to a Camel message.
The Camel exchange is transformed to a JBI exchange.
Its properties prefixed by "PetalsProperty." are put (without the prefix) into the JBI exchange properties (by reference).
Its properties prefixed by "PetalsProperty." are put (by reference) into the JBI exchange properties (without the prefix).
Its In message is transformed to a normalized message.
Its headers are put into the normalized exchange properties (by reference).
Its headers are put into the normalized exchange properties (by reference).
When an answer to an exchange sent to Petals arrives back to Camel through a consumes endpoint, the following happen:
The Camel exchange properties prefixed by "PetalsProperty." are updated from the JBI exchange properties (by reference).
If the exchange has the error status, the exception is put in the exchange.
If the exchange has a Fault, it is transformed to a Camel message (same process as before), the fault status is set on it and put as the exchange's Out.
If the exchange has a Fault, it is transformed to a Camel message (same process as before), the fault status is set on it and put as the exchange's Out.
When an answer to an exchange sent to Camel from Petals arrives back to Petals through a provides endpoint, the following happen:
The JBI exchange properties are updated (by reference) with the Camel exchange properties prefixed by "PetalsOriginalProperty." (without the prefix).
If the exchange has an Exception, the exception is put as the JBI exchange's error and its status is set to error.
If the exchange has a Fault, it is transformed to a normalized message of type fault (same process as before) and put as the JBI exchange's Fault.
If the exchange has a Fault, it is transformed to a normalized message of type fault (same process as before) and put as the JBI exchange's Fault.