Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Camel Editor
    • Labels:
      None
    • Environment:
      1.1.23

      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

          Hide
          tsedmik Tomáš Sedmík added a comment -

          verified - JBDSIS 8.0.2.GA

          Show
          tsedmik Tomáš Sedmík added a comment - verified - JBDSIS 8.0.2.GA

            People

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

              Dates

              • Created:
                Updated:
                Resolved: