users@jms-spec.java.net

[jms-spec users] [jsr343-experts] Re: (JMS_SPEC-61) Selector on JMS body

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Tue, 10 Apr 2012 13:59:26 +0100

I've now closed this issue.

Nigel

On 04/04/2012 20:44, Clebert Suconic wrote:
> +1
>
> On Wed, Apr 4, 2012 at 9:20 AM, Nigel Deakin<nigel.deakin_at_oracle.com> wrote:
>> Back on November, user koen.serneels proposed this JIRA issue:
>>
>> http://java.net/jira/browse/JMS_SPEC-61
>>
>> "It would be a very nice feature to apply selectors on the message body.
>> Possibly using regexp, or XPath in case of TextMessages.
>> The same for key/value pairs of MapMessage."
>>
>> I propose to reject this as it would be contrary to the way in which JMS is
>> designed. Currently message selectors can be used to filter messages on the
>> basis of application-defined message properties. JMS supports message
>> properties expressly to avoid the need for the message selector mechanism to
>> examine the message body, which might be inefficient.
>>
>> If anyone would like to take issue with this, please do!
>>
>> Nigel
>
>
>