|
Related documentation: https://docs.jboss.org/author/display/SWITCHYARD/Message+Composition
Each binding type should be able to configure it's own Message Composer class as well as it's own Context Mapper class.
The OOTB ContextMapper implementations (see doc link above) allow a filtering mechanism so you can specify which headers/properties get mapped into the SwitchYard Context. The attributes are includes="X", includesNamespaces="X", excludes="X" and excludesNamespaces="X", where "X" is a regular expression (".*" means everything).
Our HornetQ, SOAP, JCA and Camel implementations all allow for this, but the tooling needs to provide for it.
An additional attribute unique to the SOAPContextMapper is SOAPHeadersType. See SWITCHYARD-931 regarding this.
|