2
votes

It looks to me that <set-property> only sets inbound properties (right?). How can I set outbound property, aiming to carry it across transport barriers and then use <copy-properties> to copy it to outbound from inbound.

I don't want to set session variables are lost amid flows by outbound endpoints

2
Thanks for all your comments. I was doing <set-property> but accessing it like #[propertyName] instead of #[message.outboundProperties.propertyName]Charu Khurana

2 Answers

3
votes

set-property adds outbound message properties. If you want to check all message properties use a logger component or you can use Mule 3.4.0 (Beta) that comes with a visual flow debugger.

2
votes

Set-variable sets the properties in the INVOCATION scope.

Use message properties transformer to add variables in different scopes.