You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Paul Simon <pg...@ra.rockwell.com> on 2017/05/18 18:23:18 UTC

ActiveMQ initial number of consumers

Hi - using:
Camel version 2.18.1
ActiveMQ version 5.14.1

ActiveMQ component is used with exchange=InOut.
<from id="_fromActivemq"
uri="activemq:queue:queuename?exchangePattern=InOut"/>

I specified class option replyToConcurrentConsumers > 1, but the initial
Number of consumers for my queue was only 1.
<p:property name="replyToConcurrentConsumers" value="5"/>

The initial Number of Consumers could only be raised by setting the class
option concurrentConsumers > 1.
<p:property name="concurrentConsumers" value="5"/>

Have I misinterpreted the use of option replyToConcurrentConsumers?  
When is this used?



--
View this message in context: http://camel.465427.n5.nabble.com/ActiveMQ-initial-number-of-consumers-tp5799797.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ActiveMQ initial number of consumers

Posted by Claus Ibsen <cl...@gmail.com>.
They are two different things, the replyTo is when you do
request/reply over a queue via <to> then the consumer side on the <to>
is using that option to define how many consumers it should use.

The other option is for <from>

On Thu, May 18, 2017 at 8:23 PM, Paul Simon <pg...@ra.rockwell.com> wrote:
> Hi - using:
> Camel version 2.18.1
> ActiveMQ version 5.14.1
>
> ActiveMQ component is used with exchange=InOut.
> <from id="_fromActivemq"
> uri="activemq:queue:queuename?exchangePattern=InOut"/>
>
> I specified class option replyToConcurrentConsumers > 1, but the initial
> Number of consumers for my queue was only 1.
> <p:property name="replyToConcurrentConsumers" value="5"/>
>
> The initial Number of Consumers could only be raised by setting the class
> option concurrentConsumers > 1.
> <p:property name="concurrentConsumers" value="5"/>
>
> Have I misinterpreted the use of option replyToConcurrentConsumers?
> When is this used?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/ActiveMQ-initial-number-of-consumers-tp5799797.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2