activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Session.setMessageListener not working in 5.3.2
Date Thu, 04 Feb 2010 18:42:54 GMT
with prefetch=0 it should work ok as this will force a receive() to poke the
broker rather than depending on async delivery.

change:

queue = session.createQueue("TEST");

to

queue = session.createQueue("TEST?consumer.prefetchSize=0");


On 4 February 2010 11:33, colincrist <colincrist@hermesjms.com> wrote:

>
> See attached unit test. The receiveOneMessageUsingSessionListener() test
> hangs.
>
> Tests all work okay with, for example, Tibco EMS.
>
> http://old.nabble.com/file/p27451302/PublicTestMessageExchange.java
> PublicTestMessageExchange.java
>
> Regards,
>
> Colin.
> --
> View this message in context:
> http://old.nabble.com/Session.setMessageListener-not-working-in-5.3.2-tp27451302p27451302.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

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