Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS Session related query

 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you a look at jmstemplate class and the super classes it extends?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic