On Thu, Aug 7, 2008 at 1:22 PM, Joe Fernandez <[EMAIL PROTECTED]> wrote: > > The 'temporary' destinations behave a little differently. A temporary > destination's lifetime is that of the connection that created it. I'd > recommend reusing session objects if you can. They, along with the Producer > and Consumer objects, are lightweight objects, but creating and destroying > them generates network traffic to and from the broker.
Very good points with the temp destinations, Joe ;-). Something I neglected to explain. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache Camel - http://activemq.org/camel/ Apache ServiceMix - http://servicemix.org/ Blog: http://bruceblog.org/