jsr343-experts@jms-spec.java.net

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

From: Clebert Suconic <clebert.suconic_at_gmail.com>
Date: Wed, 4 Apr 2012 14:44:11 -0500

+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



-- 
Clebert Suconic
http://community.jboss.org/people/clebert.suconic@jboss.com
http://clebertsuconic.blogspot.com