This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS Session related query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Session related query" Watch "JMS Session related query" New topic
Author

JMS Session related query

Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1075
    
    1

When we try to send JMS messages, we use to create javax.jms.Session object.


Now if we use Spring framework JMS Template, then code in config file is


This JMS Template creates JMS Connection then JMS Session .. then JMS Message Producer etc.

If I want to set Session.AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE property in JMS Template bean configuration... how can I do it ?

~ abhay
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 394
Have you a look at jmstemplate class and the super classes it extends?
 
 
subject: JMS Session related query
 
Similar Threads
can't create connection to JBoss MQ using Spring JMS
Lazy initialize the JMS listener
Need help with JMS+ Spring + ActiveMQ
How to connect to a remote MQ Queue using Spring MDPs and Weblogic
spring roo and activemq