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
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: 1101
    
    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: 450
    
    4
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