activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Gomes <e.se...@gmail.com>
Subject Re: prefetch size variations with nms connections
Date Wed, 19 Jun 2013 22:19:28 GMT
Hi Ethan,

Thanks for following up with your solution. Hopefully, it will help the
next person, too.

Best,
Jim
On Jun 19, 2013 5:08 AM, "Ethan Winograd" <ethan.winograd@gianteagle.com>
wrote:

> ok I realized what we were doing wrong...
>
> Instead of creating a consumer from an IQueue I was creating it from an
> IDestination, which was not seeing the query params I was setting.
>
> This page helped:
>
> http://activemq.apache.org/nms/activemq-destination-options.html
>
> So rather than doing:
>
> IMessageConsumer _consumer = _session.CreateConsumer (_destination);
>
> I switched it to
>
> IMessageConsumer _consumer = _session.CreateConsumer(queueWithParams);
>
> using a string made of queueName?params
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/prefetch-size-variations-with-nms-connections-tp4668250p4668332.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message