1 Reply Latest reply on Jun 15, 2007 11:01 AM by Adrian Brock

    Updating a Message in Queue

    Amit Phatarphekar Newbie

      Is there a way to update an existing message in a Queue?
      What is the best way to do it?

      Environment - point to point, non durable messages


      I have a Java application that reads data from a TCP stream and dumps it in a message queue.
      The data I get, is a bunch of variables (variable=value), and these variables are updated every 20 msecs. So on the TCP stream I get the updated data every 20 msecs also.
      I have to maintain all variables and its LATEST values in the message queue. Since the data of these variables keeps changing every 20 msecs, i would like to update the messages in the queue, where each message holds the variable and its value.

      Is this possible and whats the best way to do it?