SMX-1.0.1 looks great..
was working on using Groovy transformers for XML
Need to use Groovy since I need to call api's/services
during transforms and XSLT's might not be optimal..
would like to embed something like this inside a Component:
<component id="groovyTransformer" service="foo:groovyTransformer"
class="org.servicemix.components.groovy.GroovyComponent"
destinationService="foo:transformedSender">
<property name="scriptText"><value><![CDATA[
org.dom4j.Node node = org.dom4j.DocumentHelper
.parseText($inMessage.bodyText).selectSingleNode("/timestamp");
:
do_something_w_node();
:
fails w/ ScriptException
Any thoughts/ideas would be appreciated..
Thanks
--Arun
Thanks
+-------------------------------------------------------------+
| Arun Rao <[EMAIL PROTECTED]> Ph: 214.850.3323 |
+-------------------------------------------------------------+