I'm on Camel 2.3 with ActiveMQ 5.3.2.

I am working with a set of slow JMS consumers, and I'd like to be able to
create them as polling consumers in my route defined in Java DSL. Is this
possible?
Can anyone show an example?

The reason I want polling jms consumers is because I cannot set "prefetch"
option to 0 with regular consumers. My understanding is that when I define a
route as follows:

from("activemq:queue.... ")
 ...

Camel creates a JMS consumer. Is there a way to instruct Camel to create a
polling consumer here?

Thank you very much for your help.

Ilya

Reply via email to