Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-208
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Claus Ibsen
Reporter: Claus Ibsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

<bean> cannot have sub elements

Created: 27/Apr/11 02:57 PM   Updated: 10/Jun/11 03:18 PM
Component/s: Camel Editor
Affects Version/s: None
Fix Version/s: 2.0

Environment: 1.1.23


 Description  « Hide
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"/>


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.