This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 1076
    
    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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
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