<?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 Proper Way to Pass camelBody 'From' one Route To Another in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/proper-way-to-pass-camelbody-from-one-route-to-another/m-p/18295#M8090</link>
    <description>&lt;P&gt;Is there a proper /betterway to get Activiti to set the &lt;STRONG&gt;body&lt;/STRONG&gt; automatically from one route to another, instead of manually fetching it out of the properties like so&lt;/P&gt;&lt;PRE&gt;@Component
public class TestRoute extends RouteBuilder {
    @Autowired
    protected TestProcessor processor;

    @Override
    @SuppressWarnings("unchecked")
    public void configure() throws Exception {
        from("activiti:test:step1")
            .process(processor)
            // end route
            .end();

        from("activiti:test:step2")
            .setBody(exchangeProperty("camelBody"))
            // do something with that body from step1
            // end route
            .end();
}&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Feb 2021 20:28:44 GMT</pubDate>
    <dc:creator>jediwompa</dc:creator>
    <dc:date>2021-02-23T20:28:44Z</dc:date>
    <item>
      <title>Proper Way to Pass camelBody 'From' one Route To Another</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/proper-way-to-pass-camelbody-from-one-route-to-another/m-p/18295#M8090</link>
      <description>&lt;P&gt;Is there a proper /betterway to get Activiti to set the &lt;STRONG&gt;body&lt;/STRONG&gt; automatically from one route to another, instead of manually fetching it out of the properties like so&lt;/P&gt;&lt;PRE&gt;@Component
public class TestRoute extends RouteBuilder {
    @Autowired
    protected TestProcessor processor;

    @Override
    @SuppressWarnings("unchecked")
    public void configure() throws Exception {
        from("activiti:test:step1")
            .process(processor)
            // end route
            .end();

        from("activiti:test:step2")
            .setBody(exchangeProperty("camelBody"))
            // do something with that body from step1
            // end route
            .end();
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Feb 2021 20:28:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/proper-way-to-pass-camelbody-from-one-route-to-another/m-p/18295#M8090</guid>
      <dc:creator>jediwompa</dc:creator>
      <dc:date>2021-02-23T20:28:44Z</dc:date>
    </item>
  </channel>
</rss>

