Do outbound properties get deleted when passing through a scatter-gather flow control in Mule? -


i attempting set outbound property prior using scatter-gather, subsequently sends copy of each message loop breaks collection , sends objects on vm queue. want use outbound property in subsequent flow, inound property, of course, properties don't make past scatter-gather. here's flows like:

<flow name="processpage">     <vm:inbound-endpoint path="processpage" exchange-pattern="one-way" doc:name="processpage" />     <message-properties-transformer doc:name="set parentid (e.g. facebook page or group id)">         <add-message-property key="parentid" value="#[payload.get('fbaggregatorsource').get('id')]"/>     </message-properties-transformer>      <component doc:name="getpagepostsandevents">         <spring-object bean="pageservice"/>      </component>     <scatter-gather doc:name="scatter-gather">     <foreach collection="#[payload.get('posts')]" doc:name="for each">         <vm:outbound-endpoint exchange-pattern="one-way" path="processpost" doc:name="processpost"/>     </foreach>     <foreach collection="#[payload.get('events')]" doc:name="for each">         <vm:outbound-endpoint exchange-pattern="one-way" path="processevent" doc:name="processevent"/>     </foreach>     </scatter-gather> </flow> <flow name="transformposttoactivity">     <vm:inbound-endpoint path="processpost" exchange-pattern="one-way" doc:name="transformposttoactivity" />  ... more stuff ....     </flow> 

outbound properties won't pass thorough , outbound-endpoint. @ point outbound properties used perform request, , whatever response headers become inbound properties after endpoint.

if intend keep properties along flow use flow variables instead.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -