It might be easier for you to just use a JMS client. But if not you
could use ConnectionInfo, ProducerInfo and MessageDispatch to send a
message.
On 3/31/07, Allesmallachen <Spammails@web.de> wrote:
>
> Hi,
> thank you for yours answer James. Basically, I just want to send a message
> to the broker that forwareded a new consumerInfo to another broker
> (something like an acknowledgement between brokers).
> I can distinguish a ConsumerInfo that was send to a broker from a local
> client from one that was forwarded by a peer broker (in a network of
> brokers) in the addConsumer method of a BrokerFilter by inspecting the
> broker path in the ConsumerInfo.
>
> What I don't know is how to send a message back to the forwarding broker.
> I've tried to use the ConnectionContext in the addConsumer method but it
> seems that it does not reach the remote broker. The message I want to send
> back is a MessageDispatch command.
> Any help is appreciated.
> Best regards,
> Christian
>
> --
> View this message in context: http://www.nabble.com/BrokerFilter-question-tf3474965s2354.html#a9770183
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/
|