activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Bysani <praveen.ii...@gmail.com>
Subject Re: Reg: Restricting number of connections for a user
Date Thu, 11 Oct 2012 13:43:47 GMT
Hi,

Thanks for the suggestion. The pp 132-133, in the book you referred to has
something related to JDBC tables and Message store. Are you referring to
the section that explains about building custom security plugins ?

On 11 October 2012 20:58, Christian Posta <christian.posta@gmail.com> wrote:

> 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:
>
> http://activemq.apache.org/interceptors.html
>
> and
>
> http://activemq.apache.org/developing-plugins.html
>
> Christian
>
> On Wed, Oct 10, 2012 at 9:26 PM, Praveen Bysani <praveen.iiith@gmail.com
> >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*
> http://www.christianposta.com/blog
>



-- 
Regards,
Praveen Bysani
Software Engineer
Jayeson Solutions, Singapore

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