You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by James Carman <ja...@carmanconsulting.com> on 2018/03/21 21:53:10 UTC
CXF 3.2.3 Regression
When upgrading from 3.2.2 to 3.2.3, I get the following compilation failure:
package org.apache.cxf.jaxrs.rx2.server does not exist
Is this intended?
James
Re: CXF 3.2.3 Regression
Posted by James Carman <ja...@carmanconsulting.com>.
Cool, thanks for the info. I’ll update my pom files accordingly tomorrow.
The client proxies could probably work with the invokers, but you’d likely
have to assume you don’t mix rx technologies in your service. Or, perhaps
figure out how to assign the right invoker for each method.
On Wed, Mar 21, 2018 at 7:27 PM John D. Ament <jo...@apache.org> wrote:
> Yes, those dependencies remain the same. But now when you bring in rxjava2
> or project reactor they are properly marked as transitive instead of
> provided.
>
> I hadn't tried client proxies yet (also a big fan obviously) but suspected
> they weren't working with rx functions yet. We should make sure that's in
> JIRA.
>
> John
>
> On Wed, Mar 21, 2018 at 7:18 PM James Carman <ja...@carmanconsulting.com>
> wrote:
>
> > I’m just using RxJava2. Most of that was already in place for 3.2.2,
> > right? The reactivestreams common module, etc? I like the framework,
> but
> > I was unable to use the built-in client stuff, because I’m using client
> > proxies. I ended up using a custom reader @Provider for the rx types.
> >
> > On Wed, Mar 21, 2018 at 6:38 PM John D. Ament <jo...@apache.org>
> > wrote:
> >
> > > Unfortunately, yes.
> > >
> > > There was an issue with dependency tress in 3.2.2 with the reactive
> > > modules. TL;DR but you need to depend on rx2 module instead of rx
> module
> > > (but good news it brings in everything it needs transitively and you
> can
> > > use an extension to setup the server).
> > >
> > > I still need to update the various docs to list it out, that there are
> > > different dependencies now for RxJava and RxJava2. RxJava2 is built on
> > > Reactive Streams, and there's a common CXF dependency used for Reactive
> > > Streams in Project Reactor and RxJava2 support. However, because of
> > > RxJava1 support I couldn't just bring this in. So I ended up pushing
> > > forward on a split of the two modules.
> > >
> > > Do you in fact use both RxJava and RxJava2? Or just RxJava2 support?
> > >
> > > John
> > >
> > > On Wed, Mar 21, 2018 at 5:53 PM James Carman <
> james@carmanconsulting.com
> > >
> > > wrote:
> > >
> > > > When upgrading from 3.2.2 to 3.2.3, I get the following compilation
> > > > failure:
> > > >
> > > > package org.apache.cxf.jaxrs.rx2.server does not exist
> > > >
> > > > Is this intended?
> > > >
> > > > James
> > > >
> > >
> >
>
Re: CXF 3.2.3 Regression
Posted by "John D. Ament" <jo...@apache.org>.
Yes, those dependencies remain the same. But now when you bring in rxjava2
or project reactor they are properly marked as transitive instead of
provided.
I hadn't tried client proxies yet (also a big fan obviously) but suspected
they weren't working with rx functions yet. We should make sure that's in
JIRA.
John
On Wed, Mar 21, 2018 at 7:18 PM James Carman <ja...@carmanconsulting.com>
wrote:
> I’m just using RxJava2. Most of that was already in place for 3.2.2,
> right? The reactivestreams common module, etc? I like the framework, but
> I was unable to use the built-in client stuff, because I’m using client
> proxies. I ended up using a custom reader @Provider for the rx types.
>
> On Wed, Mar 21, 2018 at 6:38 PM John D. Ament <jo...@apache.org>
> wrote:
>
> > Unfortunately, yes.
> >
> > There was an issue with dependency tress in 3.2.2 with the reactive
> > modules. TL;DR but you need to depend on rx2 module instead of rx module
> > (but good news it brings in everything it needs transitively and you can
> > use an extension to setup the server).
> >
> > I still need to update the various docs to list it out, that there are
> > different dependencies now for RxJava and RxJava2. RxJava2 is built on
> > Reactive Streams, and there's a common CXF dependency used for Reactive
> > Streams in Project Reactor and RxJava2 support. However, because of
> > RxJava1 support I couldn't just bring this in. So I ended up pushing
> > forward on a split of the two modules.
> >
> > Do you in fact use both RxJava and RxJava2? Or just RxJava2 support?
> >
> > John
> >
> > On Wed, Mar 21, 2018 at 5:53 PM James Carman <james@carmanconsulting.com
> >
> > wrote:
> >
> > > When upgrading from 3.2.2 to 3.2.3, I get the following compilation
> > > failure:
> > >
> > > package org.apache.cxf.jaxrs.rx2.server does not exist
> > >
> > > Is this intended?
> > >
> > > James
> > >
> >
>
Re: CXF 3.2.3 Regression
Posted by James Carman <ja...@carmanconsulting.com>.
I’m just using RxJava2. Most of that was already in place for 3.2.2,
right? The reactivestreams common module, etc? I like the framework, but
I was unable to use the built-in client stuff, because I’m using client
proxies. I ended up using a custom reader @Provider for the rx types.
On Wed, Mar 21, 2018 at 6:38 PM John D. Ament <jo...@apache.org> wrote:
> Unfortunately, yes.
>
> There was an issue with dependency tress in 3.2.2 with the reactive
> modules. TL;DR but you need to depend on rx2 module instead of rx module
> (but good news it brings in everything it needs transitively and you can
> use an extension to setup the server).
>
> I still need to update the various docs to list it out, that there are
> different dependencies now for RxJava and RxJava2. RxJava2 is built on
> Reactive Streams, and there's a common CXF dependency used for Reactive
> Streams in Project Reactor and RxJava2 support. However, because of
> RxJava1 support I couldn't just bring this in. So I ended up pushing
> forward on a split of the two modules.
>
> Do you in fact use both RxJava and RxJava2? Or just RxJava2 support?
>
> John
>
> On Wed, Mar 21, 2018 at 5:53 PM James Carman <ja...@carmanconsulting.com>
> wrote:
>
> > When upgrading from 3.2.2 to 3.2.3, I get the following compilation
> > failure:
> >
> > package org.apache.cxf.jaxrs.rx2.server does not exist
> >
> > Is this intended?
> >
> > James
> >
>
Re: CXF 3.2.3 Regression
Posted by "John D. Ament" <jo...@apache.org>.
Unfortunately, yes.
There was an issue with dependency tress in 3.2.2 with the reactive
modules. TL;DR but you need to depend on rx2 module instead of rx module
(but good news it brings in everything it needs transitively and you can
use an extension to setup the server).
I still need to update the various docs to list it out, that there are
different dependencies now for RxJava and RxJava2. RxJava2 is built on
Reactive Streams, and there's a common CXF dependency used for Reactive
Streams in Project Reactor and RxJava2 support. However, because of
RxJava1 support I couldn't just bring this in. So I ended up pushing
forward on a split of the two modules.
Do you in fact use both RxJava and RxJava2? Or just RxJava2 support?
John
On Wed, Mar 21, 2018 at 5:53 PM James Carman <ja...@carmanconsulting.com>
wrote:
> When upgrading from 3.2.2 to 3.2.3, I get the following compilation
> failure:
>
> package org.apache.cxf.jaxrs.rx2.server does not exist
>
> Is this intended?
>
> James
>