|
In order to correlate to a running process when signaling and event, processInstanceId needs to be in the Context as an EXCHANGE-scoped property[1]. Correlation is not possible through the RESTEasy binding since the default content mapper maps all headers as IN-scoped properties[2].
This should be supported in the default content mapper to map certain properties like processInstanceId, processEvent and processEventType
as EXCHANGE-scoped properties.
[1] https://github.com/jboss-switchyard/components/blob/master/bpm/src/main/java/org/switchyard/component/bpm/exchange/BaseBPMExchangeHandler.java#L85
[2] https://github.com/jboss-switchyard/components/blob/master/resteasy/src/main/java/org/switchyard/component/resteasy/composer/RESTEasyContextMapper.java
|