Hi,
Use the following snippet for smooks configuration.
<?xml version="1.0"?>
<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
<resource-config selector="global-parameters">
<param name="stream.filter.type">SAX</param>
</resource-config>
</smooks-resource-list>
Or you can use JBoss ESB out of Box action for doing the same.
<action name="transform"
class="org.jboss.soa.esb.actions.converters.ObjectToXStream">
This would beta your requirement.
Thanks & Regards,
Neha
"Ashok Sharma" <asharma(a)talentbeat.com>
Sent by: esb-users-bounces(a)lists.jboss.org
11/19/2008 08:27 AM
To
<esb-users(a)lists.jboss.org>
cc
Subject
[esb-users] Java2XML Smooks transformation example
Hi All,
Could anyone provide me a sample smooks transformation example to convert
java to xml.
I am unable to create mapping file. Please help.
Thanks in advance.
Regards,
Ashok Sharma
Sr.System Analyst,
www.talentbeat.com
Mbl: (+91) - 9766925551
______________________________________________________________________
_______________________________________________
esb-users mailing list
esb-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/esb-users
______________________________________________________________________