activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: Reg: Restricting number of connections for a user
Date Thu, 11 Oct 2012 12:58:45 GMT
Not sure if this is directly configurable out of the box, but it's
definitely something that can be addressed.
For some of these highly specific use cases, ActiveMQ was written to be
pluggable. You can plug in a broker filter that does exactly what you're
looking to do. ActiveMQ in Action has a great example of this on pp132-133.
>From the Apache site, take a look at:



On Wed, Oct 10, 2012 at 9:26 PM, Praveen Bysani <>wrote:

> Hi,
> I am new user of activemq, so excuse me if this is a trivial question. I
> have configured activemq to use the JAAS plugin for user authentication. My
> application requires only one active connection for every user configured
> with the activemq. The broker should accept only one connection per user
> and discard other connection requests from the same user until the first
> connection is disconnected.
> I looked at the activemq documentation and forums, to know that maximum
> number of producer and consumer connections can be restricted but not at
> the user level. Is there a way we can configure activemq to achieve this ?
> --
> Regards,
> Praveen Bysani

*Christian Posta*

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