• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS Transaction Issue

 
Gunja Mehrotra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to implement JMS transactions while sending messages to queue.
From whatever I information I got on JMS transactions, I could get that JMS transactions can be maintained at the receiving end,say 10 messages have been sent to a queue, so through a transacted session i can guarantee that the transaction will not get commited until i process all messages at the receiving end.
The same I need to implement at the Sending end, for example I need to send 10 messages to the queue, if I am able to send only 5 and after that something goes wrong then i would roll back and the last 5 messages delivered would no longer be in the queue.
Can anybody help me implement this scenario??
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!