Forum Home » Enterprise Products » Fuse IDE

Thread: Route Editor auto inserts empty route, while RouteBuilder is already there

 

Permlink Replies: 1 - Last Post: Aug 13, 2012 5:42 AM Last Post By: davsclaus Threads: [ Previous | Next ]
mikek753

Posts: 15
Registered: 09/03/10
Route Editor auto inserts empty route, while RouteBuilder is already there
Posted: Aug 8, 2012 7:57 PM
  Click to reply to this thread Reply
hi,

Route Editor auto inserts empty route, while RouteBuilder is already there.
Version: 2.1.0

<blueprint ...>
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<routeBuilder ref="myRouteBuilder" />
</camelContext>

</blueprint>

Every time I open my blueprint.xml Camel Route Editor will insert
<route/>

and this as result will fail
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<routeBuilder ref="myRouteBuilder" />
<route/>
</camelContext>

I understand, when it creates new camelContext and adds empty route, but when camelContext is already was defined - I don't.

Is it bug or feature? ;-)

davsclaus

Posts: 1,893
Registered: 10/14/08
Re: Route Editor auto inserts empty route, while RouteBuilder is already there
Posted: Aug 13, 2012 5:42 AM   in response to: mikek753 in response to: mikek753
  Click to reply to this thread Reply
Its a bug. I think its fixed in the upcoming 7.0.1 enterprise release.