Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS - Creation of QueueSession with different Parameters

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Dan Evans
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic