activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Suggested change to CMS for Message IDs
Date Wed, 14 Mar 2007 13:51:34 GMT
On 3/14/07, Mittler, Nathan <> wrote:
> Hey guys,
> From my understanding of message ID, it is a provider value and
> shouldn't be set by the user.  From the JMS 1.1 API:
> "JMS providers set this field when a message is sent. This method can be
> used to change the value for a message that has been received."
> I noticed in the .NET client, there is only a getter for NMSMessageId,
> and no setter.  While it deviates from the JMS API, I think this makes
> it a bit more clear and would like to remove the setCMSMessageId from
> the CMS API.
> Any objections to doing this?

Great idea. Its a common cause of errors; users trying to set the ID
themselves before sending etc.



View raw message