activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyom <great.masterm...@gmail.com>
Subject Re: ActiveMQ RA and client acknowledge in a message-driven bean
Date Tue, 01 Jun 2010 20:09:37 GMT

Hey i didn't get about the exception part, 
"org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery" What is this
exception,

please explain.


Ivan Pechorin wrote:
> 
> Hello
> 
> 2010/4/21 Gary Tully <gary.tully@gmail.com>:
>> Use a transacted delivery in your endpoint activation and throw an
>> exception
>> from onMessage. if you have the source, take a peek at this test:
>> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery
> 
> 
> Thanks a lot, it works like a charm now!
> 
> Another thing we had to change is: set jms.useAsyncSend=false in
> connection URI (connection to embedded broker) instead of
> jms.useAsyncSend=true.
> 
> 
> Best regards, Ivan
> 
> 

-- 
View this message in context: http://old.nabble.com/ActiveMQ-RA-and-client-acknowledge-in-a-message-driven-bean-tp28311771p28746878.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message