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.
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.