Skip to content

Instantly share code, notes, and snippets.

@ricston-git
Created September 7, 2016 08:59
Show Gist options
  • Save ricston-git/7b72b6062ae117eeed076662b3770c82 to your computer and use it in GitHub Desktop.
Save ricston-git/7b72b6062ae117eeed076662b3770c82 to your computer and use it in GitHub Desktop.
<flow name="request-reply-asyncFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/>
<set-payload value="#[{'1','2','3','1','2','3','1','2','3'}]" doc:name="Set Payload"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
<collection-splitter doc:name="Collection Splitter"/>
<request-reply doc:name="Request-Reply">
<vm:outbound-endpoint exchange-pattern="one-way" path="vmRequest" doc:name="VM"/>
<vm:inbound-endpoint exchange-pattern="one-way" path="vmReply" doc:name="VM"/>
</request-reply>
<collection-aggregator failOnTimeout="true" doc:name="Collection Aggregator"/>
<logger message="=After Request/Reply=" level="INFO" doc:name="Logger"/>
<json:object-to-json-transformer doc:name="Object to JSON"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment