Hi, Servicemix 3.3.1 did not support camel 2.x .I guess the 3.3.2 also does not support camel 2.x; So we have to use camel 1.x version; This uses the namespace http://activemq.apache.org/camel/schema/spring -- see - http://camel.apache.org/spring.html -->section Adding Camel Schema. Also as i noted earlier changing tthe namespace lands me to the older error ( due to I guess incompatabilityof camel 2.x with servicemix 3.3.x ?)
Snippet below shows the error when namespace is updated to http://camel.apache.org/schema/spring ---------------------------------- java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-file</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>SUCCESS</task-result> </task-result-details> </component-task-result-details> </component-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-camel</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>Could not deploy xbean service unit</loc-message> </msg-loc-info> </task-status-msg> <exception-info> <nesting-level>1</nesting-level> <msg-loc-info> <loc-token/> <loc-message>Error creating bean with name 'camel': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: com.nsn.hiq.MyRouteBuilder.from(Ljava/lang/String;)Lorg/apache/camel/model/RouteType;</loc-message> <stack-trace><