Hi

You should set the concurrent consumer on the JMS consumer instead. Then you 
have 5 consumers at once:

<route>
                        <from 
uri="jms:topic:LoggingTopic?concurrentConsumers=5"/>
                        <to uri="bean:msgParser"/>
</route>



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: selezovikj [mailto:[EMAIL PROTECTED] 
Sent: 22. oktober 2008 17:56
To: [email protected]
Subject: Bean properties: concurrentConsumers problem


<route>
                        <from uri="jms:topic:LoggingTopic"/>
                        <to uri="bean:msgParser?concurrentConsumers=5"/>
</route>

Camel is complaining about the msgParser bean, saying that the
concurrentConsumers propety is not defined. 
I was wondering what is the correct way to set the number of
concurrentConsumers and maxConcurrentConsumers for a bean ?

When I use the @Service annotation of org.springframework.stereotype.Service
package to denote a bean inside Java, it cannot set concurrentConsumers. The
only thing it provides is the value of the bean. 


-- 
View this message in context: 
http://www.nabble.com/Bean-properties%3A-concurrentConsumers-problem-tp20113967s22882p20113967.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to