That object can be used to intercept all broker operations, but for security reasons there's no need to do anything on addSession(). Once the client have a connection it can use it freely. You can consider using one of our authorisation plugins and further granulate access to broker resources.
Regards -- Dejan Bosanac ---------------------- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On Tue, Nov 5, 2013 at 6:27 AM, Steven Turner <steventurner...@gmail.com>wrote: > Thanks. Yes, I saw that plugin. But i am still curious -- when should > anybody > ever use addSession()? How is it different from addConnection(). > > -Steve > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/addConnection-vs-addSession-tp4673828p4673884.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >