On 9/15/06, petera <[EMAIL PROTECTED]> wrote:
James,
I thought the session, producer and consumer objects were "lightweight"
objects
that take only a small amount of time to initialise ?
Session, producer and consumer are lightweight in the sense that they
dont' create a socket like a Connection does but they all cause
network chatter with the broker when they are created & closed - so
should not really be created on demand but rather be polled and reused
http://incubator.apache.org/activemq/how-do-i-use-jms-efficiently.html
--
James
-------
http://radio.weblogs.com/0112098/