<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cftp and activeMQ in same route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/cftp-and-activeMQ-in-same-route/m-p/2227056#M18780</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;I've solved this issue&lt;/P&gt; 
&lt;P&gt;The configuration of the cMQConnectionFactory needs to be done manually with specific dependencies :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="connection.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2V.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147290iF9B2E03ADBA4A5AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2V.jpg" alt="0683p000009Ma2V.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2020 09:46:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-27T09:46:54Z</dc:date>
    <item>
      <title>cftp and activeMQ in same route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cftp-and-activeMQ-in-same-route/m-p/2227055#M18779</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;I'm trying to retrieve a file through a cFTP component, work on it and send the result in a topic. That's the final goal.&lt;/P&gt; 
&lt;P&gt;But i'm struggling to get the file and have an ActiveMQ at the same time and i don't understand why.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Actually, i'm trying with just this :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cftp.jpg" style="width: 207px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA95.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153027i7377D63B65EB31BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA95.jpg" alt="0683p000009MA95.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It works just fine! I get the content of the file in the body. But when i just activate my cMQConnectionFactory, it goes wrong!&lt;/P&gt; 
&lt;P&gt;I'm sure my connection is good (i have routes using it)&lt;/P&gt; 
&lt;P&gt;Here is the message:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.camel.component.file.GenericFileConsumer.&lt;BR /&gt;&amp;lt;init&amp;gt;(Lorg/apache/camel/component/file/GenericFileEndpoint;Lorg/apache/camel/Processor;Lorg/apache/camel/component/file/GenericFileOperations;Lorg/apache/camel/component/file/GenericFileProcessStrategy;)V&lt;BR /&gt;at org.apache.camel.component.file.remote.RemoteFileConsumer.&amp;lt;init&amp;gt;(RemoteFileConsumer.java:39)&lt;BR /&gt;at org.apache.camel.component.file.remote.FtpConsumer.&amp;lt;init&amp;gt;(FtpConsumer.java:51)&lt;BR /&gt;at org.apache.camel.component.file.remote.FtpEndpoint.buildConsumer(FtpEndpoint.java:99)&lt;BR /&gt;at org.apache.camel.component.file.remote.RemoteFileEndpoint.createConsumer(RemoteFileEndpoint.java:103)&lt;BR /&gt;at org.apache.camel.component.file.remote.FtpEndpoint.createConsumer(FtpEndpoint.java:93)&lt;BR /&gt;at org.apache.camel.component.file.remote.FtpEndpoint.createConsumer(FtpEndpoint.java:44)&lt;BR /&gt;at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:69)&lt;BR /&gt;at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:103)&lt;BR /&gt;at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:172)&lt;BR /&gt;at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3760)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3667)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3453)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3307)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:202)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3091)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3087)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3110)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3087)&lt;BR /&gt;at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)&lt;BR /&gt;at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3024)&lt;BR /&gt;at org.apache.camel.main.Main.doStart(Main.java:139)&lt;BR /&gt;at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)&lt;BR /&gt;at org.apache.camel.main.MainSupport.run(MainSupport.java:168)&lt;BR /&gt;at data.int_dta_rte_magentotomq_001_0_2.INT_DTA_RTE_MagentoToMQ_001.run(INT_DTA_RTE_MagentoToMQ_001.java:272)&lt;BR /&gt;at data.int_dta_rte_magentotomq_001_0_2.INT_DTA_RTE_MagentoToMQ_001.runJobInTOS(INT_DTA_RTE_MagentoToMQ_001.java:846)&lt;BR /&gt;at data.int_dta_rte_magentotomq_001_0_2.INT_DTA_RTE_MagentoToMQ_001.main(INT_DTA_RTE_MagentoToMQ_001.java:816)&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to reach the lines in the error message, it's only saying "&lt;EM&gt;main.run()&lt;/EM&gt;",&amp;nbsp; "&lt;EM&gt;try { run(); }&lt;/EM&gt;" and&lt;/P&gt; 
&lt;P&gt;"&lt;EM&gt;int exitCode = new INT_DTA_RTE_MagentoToMQ_001().runJobInTOS(args);&lt;/EM&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't understand why activating a connection can provoke this error. I've tried using it with a cJMS component to be sure the connection is used, it changes nothing.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks by advance for the help.&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Romain&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cftp-and-activeMQ-in-same-route/m-p/2227055#M18779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: cftp and activeMQ in same route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cftp-and-activeMQ-in-same-route/m-p/2227056#M18780</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;I've solved this issue&lt;/P&gt; 
&lt;P&gt;The configuration of the cMQConnectionFactory needs to be done manually with specific dependencies :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="connection.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma2V.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147290iF9B2E03ADBA4A5AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma2V.jpg" alt="0683p000009Ma2V.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 09:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cftp-and-activeMQ-in-same-route/m-p/2227056#M18780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-27T09:46:54Z</dc:date>
    </item>
  </channel>
</rss>

