There a few common headers that are available on MessageExchanges and NormalizedMessages. Some of these headers are coming from the JBI specification, but ServiceMix also adds a few extra headers. All property names are being definined on the org.apache.servicemix.common.JbiConstants interface.

MessageExchange headers

Standard JBI MessageExchange headers

Definition Property key Type Description
JbiConstants.PROTOCOL_HEADERS javax.jbi.messaging.protocol.headers Map Map containing the protocol-specific header keys and values (e.g. HTTP request headers when using servicemix-http)
JbiConstants.SEND_SYNC javax.jbi.messaging.sendSync Boolean Boolean.TRUE if the Exchange has been sent using sendSync, Boolean.FALSE it an asynchronous send has been used

ServiceMix-specific MessageExchange headers

Definition Property key Type Description
JbiConstants.CORRELATION_ID org.apache.servicemix.correlationId String Correlation id (corresponds to the MessageExchange id of the first MessageExchange in the same execution chain)
JbiConstants.DATESTAMP_PROPERTY_NAME org.apache.servicemix.datestamp Calendar The creation timestamp of the MessageExchange
JbiConstants.FLOW_PROPERTY_NAME org.apache.servicemix.flow String The name of the flow that was used to convey this MessageExchange
JbiConstants.SENDER_ENDPOINT org.apache.servicemix.senderEndpoint String A String representation of the sender endpoint service

NormalizedMessage headers

Servicemix-specific NormalizedMessage headers

Definition Property key Type Description
SOAP_HEADERS org.apache.servicemix.soap.headers Map If SOAP headers are available in the binding component, they will be added to the NormalizedMessage in this Map