Version 1

    Pulled this from the SOAP Header Properties thread so that everyone can edit:

    https://community.jboss.org/message/796845#796845

     

    To make this manageable, we should probably discuss in the forum thread and then simply record consensus here.

     

    mapFrom (normally inbound)

     

    ContextMapperHardcoded PropertySourceTarget Scope (current)Target Labels (current)Target Scope (change)Target Labels (change)Comments
    Camel
    (Camel) Message headersINcamel_message_headerNO CHANGEI would dump the message/exchange part of the label.  Might be worth adding two labels : one for "camel" and the other for the endpoint type (e.g. "file", "ftp", etc.)Note that this implementation needs to be tweaked a bit post-modularization, particularly around the use of labels.  Having a label of "camel" is not very useful, it should be correlated to the actual binding type.
    Camel
    (Camel) Exchange propertiesEXCHANGEcamel_exchange_propertyNO CHANGE

    I would dump the message/exchange part of the label.  Might be worth adding two labels : one for "camel" and the other for the endpoint type (e.g. "file", "ftp", etc.)


    HornetQ
    ClientMessage propertiesEXCHANGEhornetq_message_propertyINChange to "hornetq" ?This component is going way, so I wouldn't bother changing anything.
    HttpstatusHTTP responseINhttp_header???
    This seems like a mistake to me.  HTTP response codes are only relevant on the return path.
    Httprequest_infoHTTP requestINhttp_headerNO CHANGEChange to "http" ?
    Http(not "status" or "request_info")HTTP headersINhttp_headerNO CHANGEChange to "http" ?
    RESTEasy
    RESTEasy headersINhttp_headerNO CHANGEChange to "http" ?
    SOAP
    SOAP MIME headersINsoap_message_mime_headerNO CHANGEChange to "http" ?
    SOAP
    SOAPMessage headersEXCHANGEsoap_message_headerINChange to "soap" ?
    JMS
    (JMS) Message propertiesEXCHANGEjca_message_propertyINChange to "jms" ?
    IndexedRecordrecordNameRecord nameEXCHANGEjca_message_propertyINChange to "jca" ?
    IndexedRecordrecordShortDescriptionRecord short descriptionEXCHANGEjca_message_propertyINChange to "jca" ?
    MappedRecordrecordNameRecord nameEXCHANGEjca_message_propertyINChange to "jca" ?
    MappedRecordrecordShortDescriptionRecord short descriptionEXCHANGEjca_message_propertyINChange to "jca" ?
    StreamableRecordrecordNameRecord nameEXCHANGEjca_message_propertyINChange to "jca" ?
    StreamableRecordrecordShortDescriptionRecord short descriptionEXCHANGEjca_message_propertyINChange to "jca" ?

    mapTo (normally outbound)

     

    ContextMapperHardcoded PropertySource Scope (current)Source Labels (current)Source Scope (change)Source Labels (change)TargetComments
    Camel
    IN(any)(remove)
    (Camel) Message headersNothing should be done with IN headers relative to the response path.
    Camel
    OUT(any)NO CHANGE
    (Camel) Message headers
    Camel
    EXCHANGE(any)NO CHANGE
    (Camel) Exchange properties
    HornetQ
    EXCHANGE(any)OUT and EXCHANGE
    ClientMessage propertiesWe will be removing this component, so we don't need to bother changing it.
    HttpstatusOUThttp_headerNO CHANGE
    HTTP response status
    Http(not "status")OUThttp_headerNO CHANGE
    HTTP response headers
    RESTEasy
    OUThttp_headerNO CHANGE
    RESTEAsy headers
    SOAP
    OUT(any)(remove) ???
    SOAP Mime headersOUT and EXCHANGE source scopes are appropriate for the response SOAP message.  Where the property is stored (HTTP header or SOAP header) should be  part of the config of the context mapper.
    SOAP
    EXCHANGE(any)OUT
    SOAPMessage headers
    JMS
    EXCHANGE(any)OUT and EXCHANGE
    (JMS) Message properties
    IndexedRecordrecordNameEXCHANGE(any)OUT and EXCHANGE
    Record name
    IndexedRecordrecordShortDescriptionEXCHANGE(any)OUT and EXCHANGE
    Record short description
    MappedRecordrecordNameEXCHANGE(any)OUT and EXCHANGE
    Record name
    MappedRecordrecordShortDescriptionEXCHANGE(any)OUT and EXCHANGE
    Record short description
    StreamableRecordrecordNameEXCHANGE(any)OUT and EXCHANGE
    Record name
    StreamableRecordrecordShortDescriptionEXCHANGE(any)OUT and EXCHANGE
    Record short description