[
http://jira.jboss.com/jira/browse/JBESB-562?page=all ]
Mark Little updated JBESB-562:
------------------------------
Fix Version/s: 4.2
Affects Version/s: 4.2 Milestone Release 2
Add additional optional aliases XStreamToObject converter
---------------------------------------------------------
Key: JBESB-562
URL:
http://jira.jboss.com/jira/browse/JBESB-562
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Rosetta, Transformation Service
Affects Versions: 4.2 Milestone Release 2
Reporter: Daniel Bevenius
Assigned To: Tom Fennelly
Priority: Trivial
Fix For: 4.2
I needed the ability to specify extra aliases for XStreamToObject and from what I can see
one can only specify one alias, which is for the main object in the xml.
This is a suggestion of what the configuration could look like:
<Action name="doCustomer" processor="XStreamObject">
<property name="class-alias" value="Customer" />
<property name="incoming-type" value="CustomerProcessor"
/>
<property name="exclude-package" value="false" />
<!-- Optional list of extra aliases to add to XStream -->
<aliases>
<alias name="aliasName" class="className" />
<alias name="aliasName" class="className" />
...
</aliases>
</Action>
I have check in this suggestion here:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/dbevenius/
The classes of interest are:
XStreamToObjectUnitTest
XStreamToObject
/Daniel
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira