Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
When an action is fired the message should be available in the otherAttributes Map with key specified using the bind attribute in
the <receive/> element. Right now I have to specifically set the
message (!!!) which I don't want to do because it ends up in
the caseAttributes and I don't want the message persisted. So
we need to make the message available in otherAttributes when actions are fired.
01) <process initiation="message" id="message-flow" package="tambora">
02) <sequence>
03) <receive type="buyer.purchaseOrder" bind="message">
04) <jelly:action>
05) <j:set var="poId" value="$
"/>
!!! <j:set var="message" value="$
/>
06) </jelly:action>
07) </receive>
08) <action actionId="store-purchase-order"/>
09) <action actionId="queue-purchase-order"/>
10) <receive type="buyer.orderConfirmation" bind="message">
11) <ognl:correlator confirmationPoId == poId"/>
12) </receive>
13) <action actionId="store-order-confirmation"/>
14) </sequence>
15) </process>
I just made some changes to the way the message is bound to the attributes that an action receives, and I think it works correctly now. D'you want to check whether this is fixed now?