Does JMS specification define transactions?



Does JMS specification define transactions?..

Answer / munnu

JMS specification defines a transaction mechanisms allowing clients to send and receive groups of logically bounded messages as a single unit of information. A Session may be marked as transacted. It means that all messages sent in a session are considered as parts of a transaction. A set of messages can be committed (commit() method) or rolled back (rollback() method). If a provider supports distributed transactions, it's recommended to use XAResource API.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JMS Interview Questions

Which models are supported by jms? Please, explain them.

0 Answers  


What is the functionality of a jms message producer?

0 Answers  


What is jms connection factory in weblogic?

0 Answers  


What is the difference between the P2P (Peer to Peer) model and subscribe model?

0 Answers  


What is the advantage of persistent message delivery compared to nonpersistent delivery?

0 Answers  






What is the use of jms? Can we send message from one server to another server using jms?

0 Answers  


How many types of messaging model do JMS provide for and what are they?

0 Answers  


What is the difference between java mail and jms queue?

0 Answers  


How do I handle request/response using jms?

0 Answers  


Why doesn’t the JMS API provide end-to-end synchronous message delivery and notification of delivery?

1 Answers  


How do the wls jms 6.1 server/destination message maximum and threshold values work?

0 Answers  


How jndi is related to jms?

0 Answers  


Categories