Hello I am newibe to JMS , I will use Websphere app server 5.
I think to use the p2p pattern and I have few questions:
is it possilbe to retrieve a messege from the queue and change it?
is it possible to remove a messege from the queue?
is it possible to change a position of a messege in a queue , or to force the delivery whenever you want?
if I have a messege that should automaticly start delivering once a month should I use JMS?
-
newibe JMS question (2 messages)
- Posted by: ohad assulin
- Posted on: February 13 2004 09:13 EST
Threaded Messages (2)
- Re:
newibe JMS question by Stefan Kleineikenscheidt on February 14 2004 11:40 EST- Re: <br>newibe JMS question by Ohad Assulin on February 15 2004 03:56 EST
-
Re:
newibe JMS question[ Go to top ]- Posted by: Stefan Kleineikenscheidt
- Posted on: February 14 2004 11:40 EST
- in response to ohad assulin
Hi Ohad:
1. It is not possible to manipulate a message on the queue, but you could recieve it, change it, and resend it to the queue.
2. You can use a QueueBrowser to locate a particular message and read its JMSMessageID. Then you use the JMSMessageID in the message selector and recieve the message.
3. I don't think so, but the JMSPriority might help you.
4. If you want to schedule the delivery of a message, JMS is probably not the ideal option. Maybe you'd be better of to store the message in a database and use a scheduler like Quartz to read from the database once a month.
hope this helps,
-Stefan -
Re: <br>newibe JMS question[ Go to top ]
- Posted by: Ohad Assulin
- Posted on: February 15 2004 03:56 EST
- in response to Stefan Kleineikenscheidt
thanks!
what is the queue browser?
in which cases for example would you recommand to use JMS?
is it ideal for heavy processes?