Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
Having this route
<bean class="com.foo.MyCoolBean" id="myCoolBean"/> <camelContext xmlns="http://camel.apache.org/schema/spring" autoStartup="true" lazyLoadTypeConverters="false" streamCache="false" trace="false"> <route> <description>Route: route1</description> <from uri="timer:foo?period=1000"/> <to uri="bean:myCoolBean"> <description>Endpoint: </description> </to> <log logName="log-cool" message="What do you say ${body}"> <description>Log: </description> </log> </route> </camelContext>
When I created it by hand in the GUI editor it was a chain
from -> to -> log
And I clicked auto layout and it laid them out nicely as a chain.
Then I click the source tab to add the <bean> element. When I click back to the GUI it realigns them as
from -> to
-> log
See screenshot.
The outline in the upper right corner, is showing the route as a chain.
I know the route is essential as
route
input = from
outputs = to
log
So you may say the GUI is correct. But that's not how you would "think" the route laid out.
We may have to add some way of re-aligning the route as a "chain"