I have the following camel context and everything works great:
<camel:from id="SQS-Consumer" ref="sqsConsumer"/>
<camel:to id="Log-Entry" uri="log:ObjectFromSQSLog"/>
<camel:process id="Message-Processor" ref="sqsMessageProcessor"/>
<camel:to id="Velocity-Transformer" uri="velocity:classpath:/sqsXML.vm"/>
<camel:to id="AMQ-Destination" ref="jms-amq"/>
The only problem is that it appears to run single threaded. I would like to have multiple threads running the same route. I have not been able to figure out how to do that.
Message order is NOT an issue. I'm running Fuse 220.127.116.11.
Concurrency starts with the consumer. So you custom consumer (SKS) needs to support concurrency.
For instance the camel-jms component supports this with its: concurrentConsumer option. Also the seda component in camel-core supports this, in camel 1.6.1 or newer. Will be in the next FUSE MR release.
A bit of background material here