aspose file tools*
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS - Creation of QueueSession with different Parameters
 
Similar Threads
Does a transacted session block?
create session object from ConnectionFactory
XATransaction Problem with EJB3.0, Derby DS and JMS
MDB onMessage() not firing....Help needed please!
Transaction related problem while using multiple resource in WebSphere