This content has been marked as final.
Show 5 replies
-
1. Re: Consume message of queue
sidharta Nov 16, 2009 4:02 PM (in response to roberto00)Try using a messageHandler.
-
2. Re: Consume message of queue
sidharta Nov 16, 2009 4:06 PM (in response to roberto00)ClientConsumer consumer = session.createConsumer(...); consumer.setMessageHandler(handler);
-
3. Re: Consume message of queue
roberto00 Nov 17, 2009 3:27 AM (in response to roberto00)But the consumer will be other class different to the class que send the message
-
4. Re: Consume message of queue
clebert.suconic Nov 17, 2009 5:29 PM (in response to roberto00)Roberto,
Maybe there is a language issue here.
If you think your question sounds as generic as going to the meat market and asking can I have a piece of meat here? That's probably why nobody has answered you properly.
Please, read the documentation and also look at the examples and maybe after you did that come back and ask a more specific question. That's basically what a messaging is supposed to do:
Send and receive messages. -
5. Re: Consume message of queue
roberto00 Nov 19, 2009 3:18 AM (in response to roberto00)Hi,
My question is:
I have a class what send messages. Once the class sends the message, i want to have other class that receive messages.
Is there any way to run a class when a message arrives at the queue?