Session.SESSION_TRANSACTED);
>>>
>>> This is an error. We should probably throw an exception here.
>>>
>>> You are saying you want to use transacted session ack mode, but not
>>> using the true parameter to indicate transacted consumption.
>>>
>>> Since you're not using session.commit() or message.acknowledge() to
>>> acknowledge messages - I'd recommend using Session.AUTO_ACK
>>>
>>> --
>>> James
>>> ---
>>> http://macstrac.blogspot.com/
>>>
>>> Open Source Integration
>>> http://open.iona.com
>>>
>>
>>
>>
>> --
>> James
>> ---
>> http://macstrac.blogspot.com/
>>
>> Open Source Integration
>> http://open.iona.com
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Consumer-stops-consuming-messages-from-queue.-tp19217866p19218647.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
---
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
ate transacted consumption.
>>
>> Since you're not using session.commit() or message.acknowledge() to
>> acknowledge messages - I'd recommend using Session.AUTO_ACK
>>
>> --
>> James
>> ---
>> http://macstrac.blogspot.com/
>>
>> Open Source Integration
>> http://open.iona.com
>>
>
>
>
> --
> James
> ---
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>
>
--
View this message in context:
http://www.nabble.com/Consumer-stops-consuming-messages-from-queue.-tp19217866p19218647.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Have raised a JIRA to fail faster to avoid others hitting this one
https://issues.apache.org/activemq/browse/AMQ-1919
but basically if you use a transacted session, you have to commit() at
some point :)
2008/8/29 James Strachan <[EMAIL PROTECTED]>:
> 2008/8/29 Jigar Naik <[EMAIL PROTECTED]>:
>>
>
2008/8/29 Jigar Naik <[EMAIL PROTECTED]>:
>
> I am using ActiveMQ version 5.1.0 with JDK 1.5
>
> "are you using transactions?"
>
> I didn't really get your quesion.
Are you using JMS transactions to consume
> but after consuming each messages from
> activeMQ i am inserting it into oracle databas
nce last 1 week but not able to solve
>> it.
>
> Some tips about getting help...
> http://activemq.apache.org/support.html
>
> e.g. what version are you using? are you using transactions? Do you
> acknowledge the messages? Do you have any other consumers?
>
> --
> James
> ---
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>
>
--
View this message in context:
http://www.nabble.com/Consumer-stops-consuming-messages-from-queue.-tp19217866p19218230.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
2008/8/29 Jigar Naik <[EMAIL PROTECTED]>:
>
> hi ,
>
> my producer is producing 1 messages on a queue (TestQueue).
>
> after my producer completes producing 1 messages. I am starting my
> consumer for consumer 10 messages.
>
> My consumer consumes around 6000 messages and than throws ex
be the possible reason for this ?
I am stumbling with this issue since last 1 week but not able to solve it.
--
View this message in context:
http://www.nabble.com/Consumer-stops-consuming-messages-from-queue.-tp19217866p19217866.html
Sent from the ActiveMQ - User mailing list archive at