<?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: CMessagingEndpoint - URI with dynamic parameters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300309#M72548</link>
    <description>Unfortunately as soon as the route is started, the endpoints are fixed. You can use code to start and stop sub-routes. This would allow you to stop a sub-route, change its endpoint and restart it, but that takes a fair bit of code and is not ideal. An easier way of achieving this might be to use a cTalendJob. You can send the message to the cTalendJob, the job called by the cTalendJob will act (give or take) just like a normal Talend job, which means you can easily use dynamic SQL. You can then return your message to the route.</description>
    <pubDate>Mon, 02 May 2016 18:06:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-02T18:06:05Z</dc:date>
    <item>
      <title>CMessagingEndpoint - URI with dynamic parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300308#M72547</link>
      <description>Hi,
&lt;BR /&gt;how can I add a dynamic value to the URI of cMessagingEndpoint?
&lt;BR /&gt;Example:
&lt;BR /&gt;I want so select data from database where id = &amp;lt;param&amp;gt;
&lt;BR /&gt;The value for &amp;lt;param&amp;gt; is hold in header of the message.
&lt;BR /&gt;I try to do like this, but that was not successfull:
&lt;BR /&gt;
&lt;PRE&gt;"sql:select * from table where id = ${header.id}?dataSourceRef=myDS"&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;Thanks for help!</description>
      <pubDate>Sat, 16 Nov 2024 10:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300308#M72547</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T10:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: CMessagingEndpoint - URI with dynamic parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300309#M72548</link>
      <description>Unfortunately as soon as the route is started, the endpoints are fixed. You can use code to start and stop sub-routes. This would allow you to stop a sub-route, change its endpoint and restart it, but that takes a fair bit of code and is not ideal. An easier way of achieving this might be to use a cTalendJob. You can send the message to the cTalendJob, the job called by the cTalendJob will act (give or take) just like a normal Talend job, which means you can easily use dynamic SQL. You can then return your message to the route.</description>
      <pubDate>Mon, 02 May 2016 18:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300309#M72548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-02T18:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: CMessagingEndpoint - URI with dynamic parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300310#M72549</link>
      <description>This code works:
&lt;BR /&gt;
&lt;PRE&gt;"sql:select * from table where id=:#${header.id}?dataSourceRef=myDS"&lt;/PRE&gt;
&lt;BR /&gt;The problem was the missing ":#" before the parametervalue!</description>
      <pubDate>Tue, 03 May 2016 10:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300310#M72549</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-05-03T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: CMessagingEndpoint - URI with dynamic parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300311#M72550</link>
      <description>I didn't know this. I was basing my answer on trying to change direct and vm endpoints dynamically. Nice to know.</description>
      <pubDate>Tue, 03 May 2016 13:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CMessagingEndpoint-URI-with-dynamic-parameters/m-p/2300311#M72550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T13:58:04Z</dc:date>
    </item>
  </channel>
</rss>

