[jboss-user] [JBoss Messaging] - Re: Failover failed

timfox do-not-reply at jboss.com
Fri Dec 7 06:52:20 EST 2007


One observation:

You're creating a connection, session, and producer for every message that you forward!

This will be extremely slow...

Connection and sessions are heavyweight objects that you want to create once then re-use. Really you want to re-use the producer too.

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

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



More information about the jboss-user mailing list