Thanks, that solved my problem with installing camel-xmpp.
But, now i'm stuck trying to use it. I have the following route defined:

        from("file:///tmp/jabber")
            .to("xmpp://[EMAIL PROTECTED]/Home?password=secret");

When i deploy my osgi bundle, the following exception is displayed:

servicemix> osgi install -s file:///tmp/osgi/camel-bundle-1.jar
Bundle ID: 95
servicemix> Exception in thread "SpringOsgiExtenderThread-10"
org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
xmpp://[EMAIL PROTECTED]/Home?password=secret
        at
org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:54)
        at org.apache.camel.model.RouteType.resolveEndpoint(RouteType.java:100)
        at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:102)
        at
org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
        at org.apache.camel.model.ToType.resolveEndpoint(ToType.java:83)
        at org.apache.camel.model.ToType.createProcessor(ToType.java:77)
        at
org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:1635)
        at
org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:95)
        at
org.apache.camel.model.InterceptorRef.createProcessor(InterceptorRef.java:66)
        at
org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:1519)
        at org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:99)
        at org.apache.camel.model.RouteType.addRoutes(RouteType.java:221)
        at org.apache.camel.model.RouteType.addRoutes(RouteType.java:90)
        at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:537)
        at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:529)
        at
org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:149)
        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47)

Any idea why?

Thanks,
Andrej


-----
http://www.andrejkoelewijn.com/
-- 
View this message in context: 
http://www.nabble.com/How-do-i-install-camel-xmpp-into-ServiceMix-Kernel--tp20067223p20078761.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to