Four Stars

cMQConnectionFactory in TOS ESB 6.3.1

Hello,

I'm starting with TOS ESB 6.3.1 before I use to TOS 5.6.

In a old routes, I had a cMQConnectionFactory for a server ActiveMQ. There isn't problem.

Now, I try to do the same thing in TOS ESB 6.3.1, and there is a error when I execute the route :

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.camel.util.IntrospectionSupport.extractStringProperties(Ljava/util/Map;)Ljava/util/Map;
	at org.apache.camel.component.jetty.JettyHttpComponent.createEndpoint(JettyHttpComponent.java:190)
	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:567)
	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)
	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)
	at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:69)
	at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:89)
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1052)
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)
	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:944)
	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3260)
	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2983)
	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2814)
	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2810)
	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2833)
	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2810)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2779)
	at org.apache.camel.main.Main.doStart(Main.java:126)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.main.MainSupport.run(MainSupport.java:124)

This a screenshot of my component :image.png

 

Secondly, when I execute the route without the cMQConnectionFactory. The route use Apache Camel 2.17.3 and when I active the component cMQConnectionFactory, the logs stat Apache Camel 2.16.3

[INFO ]: org.apache.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: BUS_TEST) is starting

Why?

 

Thanks

  • ESB
1 REPLY
Four Stars

Re: cMQConnectionFactory in TOS ESB 6.3.1

This error throws only if I combine cMQConnectionFactory and cHttp (as Serveur) in the same route. This is an example