Hi

 

In CAMEL-264 it is reported that we have a import in the spi package to the 
impl package.

It's the RouteContext that is imported. 

 

I suggest remedying this as:

- introduce RouteContext as an interface in the org.apache.camel package where 
all the other core stuff is (CamelContext etc.)

- add a DefaultRouteContext in the impl as the implementation of this interface

 

And thus we would not have any direct imports from the spi package to any impl 
classes but only interfaces from the core package.

 

Since RouteContext is used in several places in Camel and also in camel-bam 
component I would like to get feedback on this subject if there are any 
objections to this plan?

 

 

 

Med venlig hilsen

 

Claus Ibsen

......................................

Silverbullet

Skovsgårdsvænget 21

8362 Hørning

Tlf. +45 2962 7576

Web: www.silverbullet.dk

 

Reply via email to