I wrote a listener program using JMS client API which will listen to the Queue and whenever there is a message got to the Queue, Listener will invoke OnMessage() to process the message against our DBMS. Right now if there is any thing wrong (Exception throws or whatever) happen during the process I have to resend this same message back to the Queue.
This is not efficient way. I wonder is there anyway inwhich we can set up JMS transaction as begintran/endtrans so we can Rollback JMS transaction when we need it.
Thanks
This is not efficient way. I wonder is there anyway inwhich we can set up JMS transaction as begintran/endtrans so we can Rollback JMS transaction when we need it.
Thanks