activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <>
Subject Re: Securing active MQ
Date Thu, 12 Feb 2009 22:45:33 GMT

I believe throwing an exception is the right thing to do. 

Free ActiveMQ User Reference Guide @

mcarter wrote:
>> Re #2 - you could write yourself a broker plugin thingy that extends
>> BrokerService and implements the addConnection(ConnectionContext context,
>> ConnectionInfo info) method; within which you can check the IP address of
>> the remote client making the connection request. 
> I've implemented exactly one of those which I'm happy to share if anyone
> wants it. My question is, if you wish to prevent a connection within the
> addConnection call, what is the recommended way of doing it? Currently I
> throw an exception which certainly stops the connection, but I wonder if
> there is a better way.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message