I got one thing, Even if it does not allow i have just put it and it built successfully.
The code I have put in camelContext.xml is like this <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd "> <classpath><library>errorhandling</library></classpath> <camelContext id="Routing" xmlns="http://activemq.apache.org/camel/schema/spring"> <package>com.in2m.servicemix.operations.updateprofile.aa</package> </camelContext> </beans> Now when I deploy the operation to smx/hotdeploy I get following error: <loc-message>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Routing:beanPostProcessor': Cannot resolve reference to bean 'Routing' while setting bean property 'camelContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Routing': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.in2m.servicemix.operations.updateprofile.aa.MessageRouting': Instantiation of bean failed; nested exception is java.lang.VerifyError: (class: com/in2m/servicemix/operations/updateprofile/aa/MessageRouting, method: configure signature: ()V) Incompatible argument to function</loc-message> <stack-trace><