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

[jira] Resolved: (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 ]

Freeman Fang resolved SM-1358.
------------------------------

    Resolution: Fixed

apply patch on behalf of Andrew Skiba
http://svn.apache.org/viewvc?rev=659759&view=rev for trunk
http://svn.apache.org/viewvc?rev=659786&view=rev for 3.2 branch

Thanks Andrew

> 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
>            Assignee: Freeman Fang
>             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.