It sounds like you might have a camel version mismatch. Check the version
your pulling in in your SU's pom.xml and compare it with the version of
the actual camel component.

HTH
/Dave

On Fri, Jun 13, 2008 at 10:20 AM, pratibhaG <[EMAIL PROTECTED]>
wrote:

>
> Thanks for the information.
>
>    We faced some issues while building camel 1.4.0 version so we went with
> 1.3.0.
>    We successfully built it and placed it in servicemix-home/hotdeploy as
> servicemix-camel-3.2.2-SNAPSHOT-installer.zip instead of
> servicemix-camel-3.2.1-installer.zip
>
>    When I had my servicemix-camel-3.2.1-installer.zip in hotdeploy my
> example was working fine. But now it's not.
>
>    But after sending my message we were facing problems:
>
>    This is how my flow looks :              HTTP-SU(Consumer) --> Camel-SU
> --> HTTP-SU (Provider)
>
>    As soon as my message reaches camel we are facing this issue:
>
>    java.lang.NoSuchMethodError:
> org.apache.camel.Endpoint.getCamelContext()Lorg/apache/camel/CamelContext;
>        at
>
> org.apache.servicemix.camel.CamelJbiEndpoint.handleActiveProviderExchange(CamelJbiEndpoint.java:100)
>        at
>
> org.apache.servicemix.camel.CamelJbiEndpoint.process(CamelJbiEndpoint.java:74)
>        at
>
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>        at
>
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>        at
>
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>        at
>
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>        at
>
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>        at
>
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>        at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
>
>
>        what is the problem?
>       what  went wrong? Please help
>
> Pratibha
> --
> View this message in context:
> http://www.nabble.com/Couldn%27t-deploy-more-than-one-servicemix-camel-service-units-tp17778184p17824547.html
>  Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to