• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS Transaction Issue

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
If you're gonna buy things, buy this thing and I get a fat kickback:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic