You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by co <cr...@gmail.com> on 2008/06/09 20:57:17 UTC

Identifying subscriber and publisher with their IP address

Is there an object I can call or a class to override that would alert me when
a subscriber or a publisher is registered with an ActiveMQ broker and for me
to query profile that client such as its IP address, the host information,
connection duration and time, etc?  Thanks.


-- 
View this message in context: http://www.nabble.com/Identifying-subscriber-and-publisher-with-their-IP-address-tp17739410p17739410.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Identifying subscriber and publisher with their IP address

Posted by co <cr...@gmail.com>.
Any other feedback would be aprpeciated.  Please be specific in terms of what
service to override.  The transport service would provide me with the IP
address, but does not give me a profile of the client (such as whether it is
a subscriber, publisher, or broker).  I could intercept the messages, but
this would be more of a hack.  There must be a better way of doing this and
a specific service to intercept or a class to override.
-- 
View this message in context: http://www.nabble.com/Identifying-subscriber-and-publisher-with-their-IP-address-tp17739410p17759814.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Identifying subscriber and publisher with their IP address

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

you can implement your own plugin that will allow you to extend broker's
behavior on almost any event

You can find more details about plugin mechanism here:
http://activemq.apache.org/interceptors.html


Cheers
-- 
Dejan Bosanac
www.scriptinginjava.net

On Mon, Jun 9, 2008 at 8:57 PM, co <cr...@gmail.com> wrote:

>
> Is there an object I can call or a class to override that would alert me
> when
> a subscriber or a publisher is registered with an ActiveMQ broker and for
> me
> to query profile that client such as its IP address, the host information,
> connection duration and time, etc?  Thanks.
>
>
> --
> View this message in context:
> http://www.nabble.com/Identifying-subscriber-and-publisher-with-their-IP-address-tp17739410p17739410.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>