This content has been marked as final.
Show 1 reply
-
1. Re: How to parse a header in SwitchYard 1.1?
trohovsky Feb 5, 2014 4:22 AM (in response to jaspervault)You can access a property value by:
@Inject
Context context;
context.getPropertyValue("my-property");
You just need to set ContextMapper to map the property from the input message. This can be done by setting of includes to includes=".*" for mapping of all properties from the message, or includes="my-property" for the concrete one property.