You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by magner58 <jo...@gmail.com> on 2013/09/30 14:59:03 UTC

PollingConsumer.receiveNoWait() never returns null consuming from AMQPComponent endpoint in browsing mode

I create PollingConsumer for my AMQP queue and consume with receiveNoWait()
until null is received. It worked nicely in default mode, but in browsing
mode (queue name suffixed with "{mode: browse}", see
https://qpid.apache.org/books/0.12/Programming-In-Apache-Qpid/html/ch02s04.html
"2.4.3.3. browse" for details) my PollingConsumer keeps running infinitely.



--
View this message in context: http://camel.465427.n5.nabble.com/PollingConsumer-receiveNoWait-never-returns-null-consuming-from-AMQPComponent-endpoint-in-browsing-me-tp5740556.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: PollingConsumer.receiveNoWait() never returns null consuming from AMQPComponent endpoint in browsing mode

Posted by "dmytro.puzhay" <dm...@gmail.com>.
Switching to another account



--
View this message in context: http://camel.465427.n5.nabble.com/PollingConsumer-receiveNoWait-never-returns-null-consuming-from-AMQPComponent-endpoint-in-browsing-me-tp5740556p5741680.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: PollingConsumer.receiveNoWait() never returns null consuming from AMQPComponent endpoint in browsing mode

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

There is a JIRA ticket about this
https://issues.apache.org/jira/browse/CAMEL-6784

On Mon, Sep 30, 2013 at 2:59 PM, magner58 <jo...@gmail.com> wrote:
> I create PollingConsumer for my AMQP queue and consume with receiveNoWait()
> until null is received. It worked nicely in default mode, but in browsing
> mode (queue name suffixed with "{mode: browse}", see
> https://qpid.apache.org/books/0.12/Programming-In-Apache-Qpid/html/ch02s04.html
> "2.4.3.3. browse" for details) my PollingConsumer keeps running infinitely.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/PollingConsumer-receiveNoWait-never-returns-null-consuming-from-AMQPComponent-endpoint-in-browsing-me-tp5740556.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen