Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Camel Editor
    • Labels:
      None
    • Environment:
      1.1.23

      Description

      Yeah we got these babies in the DSL and some end users like that they can do what they are used to in JAva code with try .. catch in the routes.

      See screenshot of a try .. catch sample.
      The catch is rendered on top, which it of course should be rendered in the bottom.

        Gliffy Diagrams

        1. try.png
          24 kB
        2. try2.png
          22 kB

          Activity

          Hide
          davsclaus Claus Ibsen added a comment -

          The source code

           
              <route id="route2">
                  <from uri="activemq:foo"/>
                  <doTry>
                      <bean method="myMethod" ref="myBean"/>
                      <doCatch>
                          <exception>java.io.IOException</exception>
                          <handled>
                              <language language="simple"/>
                          </handled>
                          <to uri="file:io-error"/>
                      </doCatch>
                  </doTry>
              </route>

          Show
          davsclaus Claus Ibsen added a comment - The source code   < route id = "route2" > < from uri = "activemq:foo" /> < doTry > < bean method = "myMethod" ref = "myBean" /> < doCatch > < exception >java.io.IOException</ exception > < handled > < language language = "simple" /> </ handled > < to uri = "file:io-error" /> </ doCatch > </ doTry > </ route >
          Hide
          davsclaus Claus Ibsen added a comment -

          I clicked back on design from source view and the GUI was rendererd as screenshot: try2

          I wonder if we need a special logic in Fuse IDE to render doTry .. doCatch in a way thats would be more intuitive for end users?

          Show
          davsclaus Claus Ibsen added a comment - I clicked back on design from source view and the GUI was rendererd as screenshot: try2 I wonder if we need a special logic in Fuse IDE to render doTry .. doCatch in a way thats would be more intuitive for end users?
          Hide
          jastrachan James Strachan added a comment -

          I guess its a bit like choice/when/otherwise - we could do with a custom UI like this ECLIPSE-176

          Show
          jastrachan James Strachan added a comment - I guess its a bit like choice/when/otherwise - we could do with a custom UI like this ECLIPSE-176
          Hide
          lhein Lars Heinemann added a comment -

          Closing old issues raised for IDE 1.x and 2.x which where not updated for almost 1.5 years. Please reopen and update the issue if needed.

          Show
          lhein Lars Heinemann added a comment - Closing old issues raised for IDE 1.x and 2.x which where not updated for almost 1.5 years. Please reopen and update the issue if needed.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: