Red Hat Bugzilla – Bug 974945
BPM Component ignores output mapping
Last modified: 2014-06-16 19:52:00 EDT
I'd expect I can use a similar mapping as I can use for input mapping, so for example for input I set
Process/in = message.content
But if I try it for output mapping like this
Process/out = message.content then it does not work. It is hardcoded in BPMExchangeHandler.handleOutput() that I need to use 'contentOutput' parameter to set a message content based on a BPM variable and the other variables are propagated automatically as context properties.
As tooling by default proposes message.content as a default for output mapping and documentation does not speak about magic names I suppose this is a bug.
Also please look at Actions tab for BPM Component, tables Input and Output, column names Expression and Variable are VERY confusing as they means something completely different in these two contexts.
This is fixed in https://issues.jboss.org/browse/SWITCHYARD-1382 for 1.0. This change should be in Alpha 2.
Verified in ER6
Keith Babo <firstname.lastname@example.org> updated the status of jira SWITCHYARD-1382 to Closed