You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Andrew Skiba (JIRA)" <ji...@apache.org> on 2008/05/20 22:54:54 UTC

[jira] Updated: (SM-1358) JAXPXPathExpression subclass returning any kind of object not only String

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

Andrew Skiba updated SM-1358:
-----------------------------

    Attachment: jxse-test.patch

unit test patch

> JAXPXPathExpression subclass returning any kind of object not only String
> -------------------------------------------------------------------------
>
>                 Key: SM-1358
>                 URL: https://issues.apache.org/activemq/browse/SM-1358
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-core
>    Affects Versions: 3.2.2, 3.3
>            Reporter: Andrew Skiba
>             Fix For: 3.2.2, 3.3
>
>         Attachments: jxse-test.patch, jxse.patch
>
>
> Existing JAXPXPathExpression evaluates only to strings. This subclass allows to use XStream to evaluate a part of a message into an object of any type. For example if a message carries XML like
> <message>
>    <params>
>        <map>
>            <entry>
>                <key>key1</key>
>                <value>value1</value>
>            </...>
> and xpath=/message/params/map
> then this JAXPXPathXStreamExpression evaluates it into java.util.Map

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