activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Suggested change to CMS for Message IDs
Date Wed, 14 Mar 2007 13:51:34 GMT
On 3/14/07, Mittler, Nathan <nathan.mittler@sensis.com> 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.

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message