<?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 [resolved] Simple route to use cTalendJob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Simple-route-to-use-cTalendJob/m-p/2199835#M2583</link>
    <description>Hi, 
&lt;BR /&gt;I'm new in ESB world. 
&lt;BR /&gt;With a route I try to send a message from myActiveMQ to a subjob with TOS 6.2.1. 
&lt;BR /&gt;The code in the subjob is never executed. If I copy the doc example with the cSetHeader and the constant body&amp;nbsp;it works. 
&lt;BR /&gt;the code in cProcessor is :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;context.mybody=exchange.getIn().getBody(String.class);&lt;BR /&gt;System.out.println("context : "+context.mybody );&lt;BR /&gt;//auto propagate ???&lt;BR /&gt;exchange.getOut().setBody(exchange.getIn().getBody());&lt;BR /&gt;exchange.getOut().setHeaders(exchange.getIn().getHeaders());&lt;/PRE&gt; 
&lt;BR /&gt;Please, any idea what I don't do correctly ? 
&lt;BR /&gt;What is the best way to send data to a subjob ? 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Ben 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD8d.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156946i200E16A8827AA428/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD8d.png" alt="0683p000009MD8d.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD31.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156177i0203AF482D02E6CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD31.png" alt="0683p000009MD31.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:07:12 GMT</pubDate>
    <dc:creator>bdurand</dc:creator>
    <dc:date>2024-11-16T10:07:12Z</dc:date>
    <item>
      <title>[resolved] Simple route to use cTalendJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Simple-route-to-use-cTalendJob/m-p/2199835#M2583</link>
      <description>Hi, 
&lt;BR /&gt;I'm new in ESB world. 
&lt;BR /&gt;With a route I try to send a message from myActiveMQ to a subjob with TOS 6.2.1. 
&lt;BR /&gt;The code in the subjob is never executed. If I copy the doc example with the cSetHeader and the constant body&amp;nbsp;it works. 
&lt;BR /&gt;the code in cProcessor is :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;context.mybody=exchange.getIn().getBody(String.class);&lt;BR /&gt;System.out.println("context : "+context.mybody );&lt;BR /&gt;//auto propagate ???&lt;BR /&gt;exchange.getOut().setBody(exchange.getIn().getBody());&lt;BR /&gt;exchange.getOut().setHeaders(exchange.getIn().getHeaders());&lt;/PRE&gt; 
&lt;BR /&gt;Please, any idea what I don't do correctly ? 
&lt;BR /&gt;What is the best way to send data to a subjob ? 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Ben 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD8d.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156946i200E16A8827AA428/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD8d.png" alt="0683p000009MD8d.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD31.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156177i0203AF482D02E6CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD31.png" alt="0683p000009MD31.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Simple-route-to-use-cTalendJob/m-p/2199835#M2583</guid>
      <dc:creator>bdurand</dc:creator>
      <dc:date>2024-11-16T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Simple route to use cTalendJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Simple-route-to-use-cTalendJob/m-p/2199836#M2584</link>
      <description>OK, my route was named useMantis, same name for the job &amp;gt;&amp;gt; doesn't work.&amp;nbsp;</description>
      <pubDate>Fri, 27 Jan 2017 10:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Simple-route-to-use-cTalendJob/m-p/2199836#M2584</guid>
      <dc:creator>bdurand</dc:creator>
      <dc:date>2017-01-27T10:20:43Z</dc:date>
    </item>
  </channel>
</rss>

