activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: communicating with Topic subscribers from custom interceptor class
Date Mon, 27 Nov 2006 19:49:13 GMT
On 11/27/06, J. Patrick Bedell <> wrote:
> Hello,
>    Thanks for your great work on ActiveMQ!

Thanks! :)

>    I'm writing a custom interceptor that extends BrokerFilter in order
> to process messages that are published to particular Topics.  My
> question is, how can my interceptor make a direct connection with the
> JMS client that published the message?

What kind of thing are you trying to do?

> Does the subscriber have to
> manually set an identifier in order to be accessible, or are the
> identifiers automatically generated?

Subscribers are visible in JMX or the BrokerService via their unique
generated consumerId's.

>    Additionally, is there a way to access the list of subscribers to a
> particular topic and send messages to individual subscribers from a
> custom interceptor class?

Not easily. What are you trying to do - maybe there's an easier way.



View raw message