Skip to content

Instantly share code, notes, and snippets.

@bibryam
Created September 18, 2013 22:21
Show Gist options
  • Select an option

  • Save bibryam/6616567 to your computer and use it in GitHub Desktop.

Select an option

Save bibryam/6616567 to your computer and use it in GitHub Desktop.
SQS FIFO Consumer
<camel:route>
<camel:from uri="aws-sqs://{{aws.queue}}?amazonSQSClient=#amazonSQSClient"/>
<convertBodyTo type="java.lang.Integer"/>
<camel:to uri="log:com.ofbizian.before?level=INFO"/>
<camel:resequence>
<!--<camel:batch-config batchSize="100" batchTimeout="1000" />-->
<stream-config capacity="100" timeout="1000"/>
<camel:simple>body</camel:simple>
<camel:to uri="log:com.ofbizian.before?level=INFO"/>
<camel:to uri="mock:result"/>
</camel:resequence>
</camel:route>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment