Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i change the information in the queue?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi

is there any way of updating the information on a queue?

i have two publisher programs which publishes to queue("old","new")

Initially i'm publishing a MapMessage to a Queue("old"), which has three string elements(company,code,value).

then i'm publishing to a the MapMessage by changing the "value" field ,to a queue("new").




in subscribing code, i'm just browsing the queue("new"),i would like to update the "value" field of "old " queue based on some condition.
for this i've used clearBody() method,
program is not giving any errors ,and in the program it's printing the updated values but it's not updated on the "old" queue.


 
No. You can read the message and then put it back but you cannot update one.

Cheers,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top