Hi,
I am trying to use messenger in CLIENT_ACKNOWLEDGE mode, and have
not been able to.
First, I couldnt find a way to get the session object (in order to
call recover() on it...) So I worked around it by exposing the
borrowSession() method. Even this did not work...
Also, I have the acknowledemode flag in messenger.xml set
<jndi lookupName="ConnectionFactory" topic="false"
acknowlegeMode="Session.CLIENT_ACKNOWLEDGE">
I am not totally sure this works.
_messenger.getSessionFactory().getAcknowledgeMode();
returned 1 as the ack mode.
Either way, I am also doing
_messenger.getSessionFactory().setAcknowledgeMode(Session.CLIENT_ACKNOWLEDGE);
at the very start, and this does not seem to work too!
Can anyone help me please?
Thanks
Amit
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>
- Re: messenger help - CLIENT_ACKNOWLEDGE amit shetty
- Re: messenger help - CLIENT_ACKNOWLEDGE James Strachan
- messenger help - CLIENT_ACKNOWLEDGE amit shetty
