<?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: [ESB Studio] RouteBuilder support for dataset? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319056#M89344</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;As the dataset component in Camel, a data set instance must be specified.&lt;BR /&gt;In your MessageEndpoint from("dataset:foo"), the dataset "foo" must be declared. Otherwise it will come out with an exception.&lt;BR /&gt;According to camel help document online, &lt;A href="http://camel.apache.org/dataset.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/dataset.html&lt;/A&gt;, the dataset with name "foo" shoule be found at DataSet instance in the Registry. Here is a simple about registry in spring XML.&lt;BR /&gt; &amp;lt;bean id="foo" class="org.apache.camel.component.dataset.SimpleDataSet"&amp;gt;&lt;BR /&gt; &amp;lt;property name="size" value="100"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt;Or you can try to register it using java codes, create a Registry and pass it to the CamelContext.&lt;BR /&gt; SimpleRegistry registry = new SimpleRegistry();&lt;BR /&gt; registry.put("foo",&lt;BR /&gt; new org.apache.camel.component.dataset.SimpleDataSet());&lt;BR /&gt; CamelContext context = new DefaultCamelContext(registry);&lt;BR /&gt;In one word, the dataset component need dataset instance registry, and sorry that currently the cMessageEndpoint doesn't support.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2011 09:37:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-18T09:37:31Z</dc:date>
    <item>
      <title>[ESB Studio] RouteBuilder support for dataset?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319055#M89343</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Trying to use the dataset component, but I get the following error?&lt;BR /&gt;log4j:WARN No appenders could be found for logger (org.apache.camel.impl.MainSupport).&lt;BR /&gt;log4j:WARN Please initialize the log4j system properly.&lt;BR /&gt;log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank" rel="nofollow noopener noreferrer"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;BR /&gt;Failed to create route cMessagingEndpoint_3: Route] -&amp;gt; [To[jetty:&lt;A href="http://www.google.com" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.google.com&lt;/A&gt;... because of Failed to resolve endpoint: dataset://foo due to: registry entry called foo of type org.apache.camel.component.dataset.DataSet must be specified&lt;BR /&gt;&lt;BR /&gt;I want to create 10 dumby messages to send to "jetty".&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319055#M89343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: [ESB Studio] RouteBuilder support for dataset?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319056#M89344</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;As the dataset component in Camel, a data set instance must be specified.&lt;BR /&gt;In your MessageEndpoint from("dataset:foo"), the dataset "foo" must be declared. Otherwise it will come out with an exception.&lt;BR /&gt;According to camel help document online, &lt;A href="http://camel.apache.org/dataset.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/dataset.html&lt;/A&gt;, the dataset with name "foo" shoule be found at DataSet instance in the Registry. Here is a simple about registry in spring XML.&lt;BR /&gt; &amp;lt;bean id="foo" class="org.apache.camel.component.dataset.SimpleDataSet"&amp;gt;&lt;BR /&gt; &amp;lt;property name="size" value="100"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt;Or you can try to register it using java codes, create a Registry and pass it to the CamelContext.&lt;BR /&gt; SimpleRegistry registry = new SimpleRegistry();&lt;BR /&gt; registry.put("foo",&lt;BR /&gt; new org.apache.camel.component.dataset.SimpleDataSet());&lt;BR /&gt; CamelContext context = new DefaultCamelContext(registry);&lt;BR /&gt;In one word, the dataset component need dataset instance registry, and sorry that currently the cMessageEndpoint doesn't support.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2011 09:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319056#M89344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-18T09:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: [ESB Studio] RouteBuilder support for dataset?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319057#M89345</link>
      <description>&lt;P&gt;Good news that we can support the dataset endpoint in our 5.0M4. There is a new Component "cContextConfig" in Studio that can be used to manipulate the CamelContext. For the dataset, just need to register some dataset bean into the CamelContext.&lt;BR /&gt;&lt;BR /&gt;1, Drag a cContextConfig from palette into create Route&lt;BR /&gt;2, Write codes to register a dataset bean in cContextConfig &lt;BR /&gt;org.apache.camel.impl.SimpleRegistry registry = new org.apache.camel.impl.SimpleRegistry();&lt;BR /&gt; registry.put("foo", new org.apache.camel.component.dataset.SimpleDataSet());&lt;BR /&gt;camelContext.setRegistry(registry);&lt;BR /&gt;3, Start route, Route will work!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 04:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-Studio-RouteBuilder-support-for-dataset/m-p/2319057#M89345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T04:53:40Z</dc:date>
    </item>
  </channel>
</rss>

