camel-mina is using mina 1.1.7. And I do not think mina 1.1.x and 2.0.x is binary compatible. So you got to use mina 1.1.7.
We will later upgrade camel-mina when Mina official has a 2.0 GA release. On Wed, Aug 19, 2009 at 3:20 PM, Alex Rios<[email protected]> wrote: > I need some help. Using servicemix 3.3.1 > I'm unable to get the MINA part of the camel tutorial working. > I mean, I think I have done what is described here: > http://servicemix.apache.org/35-using-other-camel-components.html > Except that I'm using MINA version 2.0-M3. > > I must be doing something wrong, because it doesn't work for me. > > When I hotdeploy I get the following error messages: > > > INFO - AutoDeploymentService - Directory: hotdeploy: Archive > changed: processing camel-tutorial-sa-1.0-SNAPSHOT.zip ... > > ERROR - CamelJbiComponent - > org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: > mina:tcp://localhost:10021 due to: org.apache.camel.RuntimeCamelException: > Could not auto create component: mina > > WARN - SpringCamelContext - No spring-event endpoint enabled > for: > org.springframework.context.event.contextclosedevent[source=org.apache.xbean.spring.context.filesystemxmlapplicationcont...@f94934: > display name > [org.apache.xbean.spring.context.filesystemxmlapplicationcont...@f94934]; > startup date [Mon Aug > > 17 11:28:22 EDT 2009]; root of context hierarchy] > > INFO - DeploymentService - UnDeployed ServiceUnit > camel-tutorial-jms-su from Component: servicemix-jms > > ERROR - AutoDeploymentService - Failed to update Service Assembly: > camel-tutorial-sa > > > > .... > > > > <loc-message>Failed to resolve > endpoint: > > mina:tcp://localhost:10021 due to: org.apache.camel.RuntimeCamelException: > Could not auto create component: mina</loc-message> > > > <stack-trace><