On 6/4/07, dmitryg <[EMAIL PROTECTED]> wrote:

Sorry, I'm relatively new to ActiveMQ.

My question is how user with adim privileges can programatically ask broker
to disconnect client and/or forcefully remove his subscriptions? For example
malicious client used some other client credentials to connect to
broker(ActiveMQ security) and consumes/publish messages.

The security plugin prevents access to queues/topics unless folks have
the correct credentials


Or another case
when client saw that network connection to the broker has been lost, but
broker didn't notice it yet. If client does fresh connection( without
keeping state) I need to force broker to remove previous client's connection
objects and subscriptions.

Does ActiveMQ has a solution for that?

You can manually kill stuff via JMX, or the inactivity timeout will
disconnect dead socket connections

http://activemq.apache.org/configuring-wire-formats.html

see the maxInactivityDuration

--
James
-------
http://macstrac.blogspot.com/

Reply via email to