activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <>
Subject Re: Does apollo support anything like interceptors?
Date Fri, 16 Mar 2012 17:41:30 GMT

It does not have the same type of interceptor interfaces. I think you be
able to used Apollo' security system to restricts which clients can publish
to which destinations.  If not, please let lets us know how we could
improve it.

In terms of capturing message traffic,  There's an undocumented feature
which lets you filter STOMP frames as they are received by the broker.  You
configure it by adding a protocol filter to the stomp protocol.  For

    <connector id="tcp" bind="tcp://" connection_limit="2000">

Then you would create a class my.Filter that implements
the interface
which is defined as:

trait ProtocolFilter {
  def filter[T](command: T):T

If your class also defines a `var protocol_handler:ProtocolHandler` it will
get set to the protocol hander instance which is being used to handle the

Hope that helps.

On Tue, Mar 13, 2012 at 9:39 PM, BocaJim <> wrote:

> Hello all,
> We are currently using ActiveMQ with custom interceptors that handle
> security, currently we have thousands of concurrent connections, and plan
> to
> scale to hundreds of thousands accross a cluster...
> We use the interceptors to manage authentication as well as to restrict
> which queues a particular client is able to publish to.
> We also use the onSend API to capture some message traffic and log it...
> I can't find anything similar in apollo, does it exist?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at



*Hiram Chirino*

*Software Fellow | FuseSource Corp.*

* |*

*skype: hiramchirino | twitter: @hiramchirino<>

*blog: Hiram Chirino's Bit Mojo <>*



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