cHTTP and cMQConnectionFactory in one route.

One Star

cHTTP and cMQConnectionFactory in one route.

I'm trying to use cHTTP and cMQConnectionFactory in one route. After start I'm getting an error:
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(
 at org.apache.camel.impl.DefaultComponent.createEndpoint(
 at org.apache.camel.impl.DefaultCamelContext.getEndpoint(
 at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(
 at org.apache.camel.model.RouteDefinition.resolveEndpoint(
 at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(
 at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(
 at org.apache.camel.model.FromDefinition.resolveEndpoint(
 at org.apache.camel.impl.DefaultRouteContext.getEndpoint(
 at org.apache.camel.model.RouteDefinition.addRoutes(
 at org.apache.camel.model.RouteDefinition.addRoutes(
 at org.apache.camel.impl.DefaultCamelContext.startRoute(
 at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(
 at org.apache.camel.impl.DefaultCamelContext.doStartCamel(
 at org.apache.camel.impl.DefaultCamelContext.access$000(
 at org.apache.camel.impl.DefaultCamelContext$
 at org.apache.camel.impl.DefaultCamelContext$
 at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(
 at org.apache.camel.impl.DefaultCamelContext.doStart(
 at org.apache.camel.impl.DefaultCamelContext.start(
 at org.apache.camel.main.Main.doStart(
 at helesb.routedotestow_0_1.RouteDoTestow.runJobInTOS(
 at helesb.routedotestow_0_1.RouteDoTestow.main(

Without cMQConnectionFactory it works.

For more information, I need:
1. Set cHTTP as server.
2. Process the received message in Job.
3. Send the processed message to ActiveMQ in route.
How can I do that?
I could send message to broker from job, by I don't know how to set in tMomConnection PooledConnectionFactory and more advanced options.

Re: cHTTP and cMQConnectionFactory in one route.

Here is a TalendHelpCenter:cTalendJob component which calls a Data Integration Job either from the repository or exported as an OSGI Bundle For ESB.
You can send message to broker from job and call this job by using cTalendJob in your current route.
Best regards
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.



Introduction to Talend Open Studio for Data Integration.


Downloads and Trials

Test drive Talend's enterprise products.