Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS Session related query  RSS feed

 
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: 491
5
  • 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
Boost this thread!