On 09/11/2007, Dave Carlson <[EMAIL PROTECTED]> wrote: > Hello, we are implementing an activeMQ application using 4.1.1, and we have > found that the performance bottleneck is in creating a session. I have > reviewed the JavaDoc on pooling, but are there any examples of using pooling?
See this FAQ entry... http://activemq.apache.org/how-do-i-use-jms-efficiently.html To use JMS efficiently I'd recommend using Camel to hide the JMS API and bind the messaging to your beans... http://activemq.apache.org/camel/bean-integration.html failing that try using Spring's MessageListenerContainer for consuming messages and JmsTemplate for sending - but be aware of the gotchas... http://activemq.apache.org/jmstemplate-gotchas.html > Also, where are the JavaDics for 4.1.1? Are they in the binary distro? -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com