If I remember correctly you can use a * wildchar in order to avoid looping
and creating so many routes:

 from(CamelConnectionIssue.CONNECTION_NAME +
":topic:com.cisco.camel.test.subject.*").to("bean:cBean?method=receiveMessages");

In your case I am not sure if this will be enough, but its a great place to
start

-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache Camel <http://camel.apache.org/> Committer
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
Apache DirectMemory <http://incubator.apache.org/directmemory/> Committer
*

Reply via email to