You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "ilya simuni (JIRA)" <ji...@apache.org> on 2009/03/24 17:38:42 UTC

[jira] Created: (SM-1828) WS-Notification component servicemix-wsn2005 - Content Message filter does not support namespaces in the payload

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


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.


[jira] Updated: (SM-1828) WS-Notification component servicemix-wsn2005 - Content Message filter does not support namespaces in the payload

Posted by "ilya simuni (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (SM-1828) WS-Notification component servicemix-wsn2005 - Content Message filter does not support namespaces in the payload

Posted by "ilya simuni (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>         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.


[jira] Updated: (SM-1828) WS-Notification component servicemix-wsn2005 - Content Message filter does not support namespaces in the payload

Posted by "ilya simuni (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

      Component/s: servicemix-wsn2005
    Fix Version/s: 3.4

> 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
>          Components: servicemix-wsn2005
>            Reporter: ilya simuni
>            Priority: Minor
>             Fix For: 3.4
>
>         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.