updating messages

Using Hermes with JBoss

updating messages

Postby noa » Wed Jun 25, 2008 12:38 pm

Is it possible to update messages already in the queue.

like change their priority?
noa
 
Posts: 2
Joined: Mon Jun 23, 2008 2:38 pm

Re: updating messages

Postby Colin » Wed Jul 02, 2008 8:41 am

JMS does not support editing messages in place, you have to copy the message and resubmit as a new message.

Hermes does not support graphically editing messages - its been on my todo list for some time - however you could save them as XML and then edit the XML before resending them.

Select your message(s) and "save as XML". Edit the XML in place - it should be fairly obvious whats going on - and then File -> Open Messages or click in the toolbar. Once you've opened the file you can drag and drop the messages onto a queue or topic.

Regards,

Colin.
Colin
Site Admin
 
Posts: 913
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: updating messages

Postby noa » Sun Jul 06, 2008 3:39 pm

Thank you.

and i have to handle the double messages programatically on the receiving side, right?

I mean - resending the message doesn't obsoletes the old one.
noa
 
Posts: 2
Joined: Mon Jun 23, 2008 2:38 pm

Re: updating messages

Postby Colin » Sun Jul 06, 2008 5:07 pm

Yes as far as JMS is concerned this is a duplicate message.

Its good practice to handle duplicate messages as there are many many scenarios that can create duplicates.

Regards,

Colin.
Colin
Site Admin
 
Posts: 913
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK


Return to JBoss

Who is online

Users browsing this forum: No registered users and 1 guest

cron