GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes JMS - Creation of QueueSession with different Parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS - Creation of QueueSession with different Parameters" Watch "JMS - Creation of QueueSession with different Parameters" New topic
Author

JMS - Creation of QueueSession with different Parameters

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am confused in creating a QueueSession with different Parameters .

public QueueSession createQueueSession(boolean transacted,int acknowledgeMode) throws JMSException

The first option says that

transacted - indicates whether the session is transacted

Please tell me what is meant transacted in this context.

Thank you .


Save India From Corruption - Anna Hazare.
Dan Evans
Greenhorn

Joined: Aug 22, 2006
Posts: 18
It specifies whether or not JMS transactions are used.
If transactions are being used, you will need to commit or
rollback the transaction.

Jt Design Patter Framework - http://jt.dev.java.net/
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JMS - Creation of QueueSession with different Parameters