activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: addConnection vs addSession
Date Mon, 04 Nov 2013 11:57:38 GMT
Hi Steve,

addConnection() is what you need. Take a look at

https://github.com/apache/activemq/blob/trunk/activemq-broker/src/main/java/org/apache/activemq/security/SimpleAuthenticationBroker.java

to see how simple authentication mechanism works.

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Mon, Nov 4, 2013 at 12:40 PM, Steven Turner <steventurner808@gmail.com>wrote:

> Hi ActiveMQ team,
>
> Could somebody please explain the difference between addConnection and
> addSession in the broker plugins.
>
> I want to intercept the first call from client to broker and use that for
> some handshake and authentication. I am wondering what I could possibly
> use.
> What's the difference between these methods and when should one override
> one
> method over the other?
>
> -Steve
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/addConnection-vs-addSession-tp4673828.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message