jsr343-experts@jms-spec.java.net

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

From: Rüdiger zu Dohna <ruediger.dohna_at_1und1.de>
Date: Wed, 4 Apr 2012 19:29:57 +0200

+1 for closing it

On 2012-04-04, at 16:20, Nigel Deakin 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