activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mandjeo <mand...@gmail.com>
Subject Re: Sending message from broker to clients
Date Mon, 23 Jul 2012 16:13:25 GMT
Thanks for the reply ! (Hvala puno! :))

My use case is that I need to send messages as a reaction to some events in
the broker. 
So lets say that when some conditions are fulfilled I need to send a new
message to some queue.
In the example that you've sent it is the scheduleRedelivery method that is
doing more or less what I need, 
but here you got connectionContext object from the sendToDeadLetterQueue
method, and you are using broker defined in it to send the message. 
What if I don't have a ConnectionContext object, that is I want to send
message from some other methods where I don't have a reference to it. 
How can I create one and reference to which Broker should I set in it?

Regards !

Milos Andjelkovic




--
View this message in context: http://activemq.2283324.n4.nabble.com/Sending-message-from-broker-to-clients-tp4654236p4654263.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message