It’s hard to support two major release version.
How about fork another version of camel-jetty (camel-jetty8) which supports 
Jetty7 and Jetty8 and move camel-jetty to support Jetty9 instead.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On December 9, 2014 at 12:26:38 AM, Claus Ibsen (claus.ib...@gmail.com) wrote:
> On Mon, Dec 8, 2014 at 5:17 PM, Christian Schneider
> wrote:
> > There are some changes we need to do in camel to support the upcoming karaf
> > 4. The most visible difference is that karaf 4 will include jetty 9.
> > Recently Dan migrated the camel-jetty component to support jetty 8 and 9 on
> > the consumer side. The consumer should be solved for the most part.
> >
> > On the client side jetty changed a lot more though so it is difficult to
> > support jetty 8 and 9 with the same client code. So I think we have some
> > options here:
> >
> > 1. Split up the jetty component into a module for the server side that
> > supports jetty 8 and 9 and separate components for the client side for jetty
> > 8 and 9 respectively
>  
> -1
>  
> > 2. Have separate jetty components for each major version of jetty
>  
> +1
>  
> this is what we do for other components.
> allows to have compile time over reflection hacks.
>  
> > 3. Remove the jetty producer side as most people use camel-http or
> > camel-http4 anyway
> >
>  
> -1
>  
> No there is actually people that uses jetty for proxying, eg from
> jetty -> to jetty where jetty continuations and whatnot comes in play.
>  
>  
> > I personally would go for option 3 as we have a lot of http components
> > already and I don't think many people used jetty as a producer.
> > Another argument for it is that the next major version of jetty will
> > probably be largely incompatible again. So it would be good to have less
> > exposure to jetty apis.
> >
> > Christian
> >
> > --
> > Christian Schneider
> > http://www.liquid-reality.de
> >
> > Open Source Architect
> > http://www.talend.com
> >
>  
>  
>  
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>  

Reply via email to