----- Original Message -----
From: "Miere Teixeira" <miere.teixeira(a)gmail.com>
To: "Stuart Douglas" <sdouglas(a)redhat.com>, "Steve Logue"
<bitvector2(a)gmail.com>
Cc: undertow-dev(a)lists.jboss.org
Sent: Tuesday, 1 September, 2015 12:51:00 PM
Subject: Re: [undertow-dev] Who Needs JAX-RS...
Btw, Stuart,
Quite interesting this new non-blocking API that was introduced in the 1.3.0
version.
It is still possible to do non blocking with the XNIO channel API in prior versions (which
is what StringReadChannelListener uses), this new API is just easier to use.
Can you tell me where is a good place to be notified about the
1.3.0's
roadmap and the upcoming new features?
1.3.0.Final will be released just before Wildfly 10 (which is currently planned for early
October). In general 1.3.x beta releases are quite stable, most of the core functionality
remains unchanged.
Stuart
On Mon, Aug 31, 2015 at 10:21 PM Stuart Douglas <
sdouglas(a)redhat.com >
wrote:
> This is not really correct, as you are setting the exchange into
blocking
> mode and reading from an input stream.
> If you want to go full async there are a few things you need to
remove the
> 'startBlocking()' call. To read the request entity the easiest way before
> Undertow 1.3 (which is still not quite final) is to use
> io.undertow.util.StringReadChannelListener. If you are a recent 1.3.0 beta
> you can use the new HttpServerExchange.getRequestReceiver() API.
> Here is an example of a handler that uses
StringReadChannelListener to
> simply
> attach the post data to the exchange:
> You can then get it in the next handler using the
StringReadHandler.DATA
> attachment key.
> Stuart
> ----- Original Message -----
> > From: "Steve Logue" < bitvector2(a)gmail.com >
> > To: undertow-dev(a)lists.jboss.org
> > Sent: Sunday, 30 August, 2015 12:00:49 PM
> > Subject: [undertow-dev] Who Needs JAX-RS...
> >
> > Hi Folks, I'm definitely new to Undertow and super impressed with it.
> > However
> > the docs are a bit thin in regards to using the RoutingHandler and doing
> > full async processing. May I ask for a quick check of my approach to
> > using
> > Undertow and trying not to block anywhere:
> >
> >
https://github.com/bitvector2/microservice2/blob/master/src/main/java/org...
> >
> > -STEVEl
> >
> >
> > --
> >
> >
http://www.bitvector.org/
> >
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/undertow-dev
> _______________________________________________
> undertow-dev mailing list
> undertow-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/undertow-dev