aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Session related query" Watch "JMS Session related query" New topic

JMS Session related query

Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1000

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: 382
Have you a look at jmstemplate class and the super classes it extends?
I agree. Here's the link:
subject: JMS Session related query
Similar Threads
How to connect to a remote MQ Queue using Spring MDPs and Weblogic
can't create connection to JBoss MQ using Spring JMS
Need help with JMS+ Spring + ActiveMQ
Lazy initialize the JMS listener
spring roo and activemq