2008/5/17 Claus Ibsen <[EMAIL PROTECTED]>:
> 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?

Sounds good to me!

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to