[ 
https://issues.apache.org/activemq/browse/SM-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ilya simuni updated SM-1828:
----------------------------

    Attachment: JmsSubscription.diff.txt

The change involves checking whether the namespace is used in the Message 
content (payload) and doing setNamespaceContext() before creating 
XPathExpression and evaluate() of the message content.

> WS-Notification component servicemix-wsn2005 - Content Message filter does 
> not support namespaces in the payload
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1828
>                 URL: https://issues.apache.org/activemq/browse/SM-1828
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: ilya simuni
>         Attachments: JmsSubscription.diff.txt
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> Subscribe message may contain Content Message filter 
> (Subscribe/Filter/MessageContent) which must be an XPath expression and the 
> message must be delivered only if the payload content evaluates to True using 
> that expression.
> Current implementation fails to evaluate the payload correctly if the message 
> content filter and payload Message use namespaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to