Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Camel Editor
    • Labels:
      None
    • Environment:
      1.1.23
    • Similar Issues:
      Show 10 results 

      Description

      See previous ticket about try .. catch.

      I altered the route a bit a I wanted to add a log EIP after the bean inside the doTry. But the source code was renderer with <log> inside the <bean> element

        <camelContext xmlns="http://camel.apache.org/schema/spring" trace="false">
          <route id="route2">
              <from uri="activemq:foo"/>
              <doTry>
                  <bean method="myMethod" ref="myBean">
                      <log logName="myFile" message="Processing done"/>
                  </bean>
                  <doCatch>
                      <exception>java.io.IOException</exception>
                      <to uri="file:io-error"/>
                  </doCatch>
              </doTry>
          </route>
      </camelContext>

      And the log EIP is not visible in the outline. The correct solution should be

                  <bean method="myMethod" ref="myBean"/>
                  <log logName="myFile" message="Processing done"/>

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Claus Ibsen
              Reporter:
              Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: