I want to use smooks-transformation within a camel-route.
So my simplified camel-route.xml looks like this:
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.
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?
It seems that the issue is reported in SwitchYard https://issues.jboss.org/browse/SWITCHYARD-2211 and still unresolved.
SwitchYard 2 uses camel 2.14, so maybe there something more.
Can you comment, and link this to the JIRA above mentioned?