Re: Sending message from broker to clients

2012-07-24 Thread Dejan Bosanac
You need to have ConnectionContext to send messages within the broker. If you don't have any you can try grabbing admin connection context Broker.getAdminConnectionContext(). It seems like your case is an extension of current advisory support in the broker. If so you might consider extending it to

Re: Sending message from broker to clients

2012-07-23 Thread mandjeo
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

Re: Sending message from broker to clients

2012-07-23 Thread Dejan Bosanac
Hi, do you need to do it from the broker, or just the same JVM. If it doesn't need to be done from the broker, you can use regular JMS producer to connect to your broker and send messages (or even use Camel to make things easier). If it needs to be from the broker, you probably need to create a p

Re: Sending message from broker to clients

2012-07-23 Thread mandjeo
Is it possible that nobody had need to send message from the broker to some queue... My problem is that I cannot find how should I create ProducerBrokerExchange and ConnectionContext objects appropriately. Please if anybody has any ideas... -- View this message in context: http://activemq.22