Details

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

      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.

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

        Activity

        Hide
        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
        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
        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
        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
        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
        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
        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
        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:
            Lars Heinemann
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: