Thursday, January 26, 2006

Messaging Questions

How do I gaurantee once and only once delivery of a message in JMS ?
Can a message producer and message consumer be part of the same transaction?
How are message acknowledgements handled in JMS?

Scenario:
An application makes a remoting call and then puts a message on a queue and then makes one more database call. I want all of these 3 operations to be executed in a single transaction. How can U accomplish this ?