I want to use smooks-transformation within a camel-route.
So my simplified camel-route.xml looks like this:
<routes xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="switchyard://TestService"/>
<to uri="smooks:/switchyard/smooks.xml"/>
</route>
</routes>
First of all one has to change the version of the lib from milyn-smooks-all-1.5.1.jar to milyn-smooks-all-1.5.2.jar.
see here: [MR-784] Smooks 1.5.1 incompatible with Camel 2.10 - JBoss Issue Tracker
Will this be changed on the release version 2.0.0?
Then you will still get the following errors on deployment:
Failed to define class org.milyn.smooks.camel.component.SmooksComponent in Module "org.milyn:main"
[...]
ClassNotFoundException: org.apache.camel.impl.DefaultComponent from [Module "org.milyn:main" from local module loader @6a6203a5 (finder: local module finder @48dd7c33 (roots: /opt/jboss-eap-6.3/modules,/opt/jboss-eap-6.3/modules/system/layers/soa))]
If i add the following two dependencies to "jboss-eap-6.3/modules/system/layers/soa/org/milyn/main/module.xml":
<module name="org.apache.camel.spring" />
<module name="org.apache.camel.core" />
then the deployment is successful.
Is this an error in switchyard or do i something wrong?