[jboss-user] [JBoss Messaging] - Re: Spring JmsTemplate questions

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Jul 21 16:17:24 EDT 2008


The problem with JMSTemplate on Spring is about the session.

Spring will create a JMSSession on every send:

  session =   conn.createSession(....);
  ....
  producer = session.createProducer...
  producer.send(....)



And those are expensive operations *on any* messaging system (as far as I know).  

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165744#4165744

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165744



More information about the jboss-user mailing list