activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Bug in createQueueSession ?
Date Wed, 31 May 2006 11:51:57 GMT
On 5/31/06, klate <Klaus.Terjung@bank-verlag.de> wrote:
>
> Hi,
>
> Is it a bug with  javax.jms.Session.AUTO_ACKNOWLEDGE in ActiveMQ ?
>
> When I use createQueueSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE)
> the Messages are not removed from the Queue.

How are you consuming the messages?

Could you show us the Java code you are using?

James

> When I use createQueueSession(true, javax.jms.Session.AUTO_ACKNOWLEDGE) and
> call getSession().commit() in the onMessage Method
>
> the Messages are  removed from the Queue.
>
> I work with ActiveMQ Release (30.05.2006).
>
> Best Regards
>
> Klaus Terjung
> --
> View this message in context: http://www.nabble.com/Bug+in+createQueueSession+--t1710085.html#a4642714
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message