Hi All, I have a route that start with a mina2 UDP endpoint: <from uri="mina2:udp://0.0.0.0:8888" />
I installed the camel-mina2 feature and I deployed it to Servicemix (I'm using 4.5.3), but when starting the bundle with the mina2 route I got a NoSuchMethod exception (see at the end). The problem was that the camel-mina2 features uses bundle mvn:org.apache.mina/mina-core/2.0.7 but on Servicemix 4.5.3 the version 2.0.5 get installed due to feature <feature name="ssh" description="Provide a SSHd server on Karaf" version="2.2.11"> .... <bundle start-level="30" dependency='true'>mvn:org.apache.mina/mina-core/2.0.5</bundle> .... </feature> (from apache-servicemix-4.5.3/system/org/apache/karaf/assemblies/features/standard/2.2.11/standard-2.2.11-features.xml) I got it working by: 1. installing mvn:org.apache.mina/mina-core/2.0.7 2. stopping mvn:org.apache.mina/mina-core/2.0.5 3. updating mvn:org.apache.camel/camel-mina2/2.10.7 so to get it using last version 4. restarting my bundle with the mina2 route In the next version of camel or servicemix, is it possible to have the feature camel-mina2 to require explicitly mina >= 2.0.7 so that it is not required installing it manually? or should be karaf ssh's feature to upgrade to mina 2.0.7? (sorry I'm in a hurry now and can't open a JIRA ticket, also I don't know if put it in camel, servicemix or karaf) thank you. Cristiano PS: Here the exception's stack trace I got when camel-mina2 got resolved to mina 2.0.5 java.lang.NoSuchMethodError: org.apache.mina.core.service.IoAcceptor.bind(Ljava/net/SocketAddress;)V at org.apache.camel.component.mina2.Mina2Consumer.doStart(Mina2Consumer.java:91) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1788) at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2084) at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2020) at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1948) at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1727) at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1608) at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1475) at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1443) at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228) at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118) at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[73:org.springframework.context:3.0.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)[73:org.springframework.context:3.0.7.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)[73:org.springframework.context:3.0.7.RELEASE] at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[79:org.springframework.osgi.core:1.2.1] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[79:org.springframework.osgi.core:1.2.1] at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[79:org.springframework.osgi.core:1.2.1] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[79:org.springframework.osgi.core:1.2.1] at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[82:org.springframework.osgi.extender:1.2.1] at java.lang.Thread.run(Thread.java:724)[:1.7.0_40]