You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Hans Orbaan <ha...@docdata.eu> on 2015/10/07 10:59:42 UTC

Adding methods to the Route interface

Hi,

Are there any (custom) implementations of the Route interface that differ from the DefaultRoute class?

It might be a good small enhancement to add more methods that are implemented in the DefaultRoute by inheritance from ServiceSupport, to the Route interface.
There is a lot of casting going on when using methods like isStarted, isStopped, etc.

Anyway, I think the Route interface could use more methods from the StatefulService interface.

With kind regards,

Hans Orbaan