camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: RouteContext to be an interface - CAMEL-264
Date Mon, 19 May 2008 10:59:10 GMT
2008/5/17 Claus Ibsen <ci@silverbullet.dk>:
> 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

Mime
View raw message