cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject Re: local transport versus async
Date Sat, 02 Jan 2016 20:58:25 GMT
I can have a look. For my actual dayjob, I switched the tests to http
rather than wait to implement and release such a thing.


On Sat, Jan 2, 2016 at 3:48 PM, Andrei Shakirin <ashakirin@talend.com> wrote:
> Hi Benson,
>
> Currently LocalTransport doesn't have the ContinuationProvider.
> CXF supports only Servlet3ContinuationProvider (Servlet3), JettyContinuationProvider
(Jetty) and JMSContinuationProvider (JMS).
> Basically it should be possible to implement Continuations for LocalTransport as well.
> Do you have interest to start with it?
>
> Regards,
> Andrei.
>
>> -----Original Message-----
>> From: Benson Margulies [mailto:benson@basistech.com]
>> Sent: Freitag, 1. Januar 2016 22:34
>> To: users@cxf.apache.org
>> Subject: local transport versus async
>>
>> I have some tests that launch services using the local transport. I've just
>> converted all the services involved to be async (@Suspended
>> AsyncResponse). Should I assume that I need to give up on the local
>> transport? Is that enough, or do I need to tweak the embedded jetty? I don't
>> need anything to be _actually_ async for this purpose, just not to explode.
>>
>>
>>
>> java.lang.NullPointerException
>> at
>> org.apache.cxf.jaxrs.impl.AsyncResponseImpl.initContinuation(AsyncRespon
>> seImpl.java:301)
>> at
>> org.apache.cxf.jaxrs.impl.AsyncResponseImpl.<init>(AsyncResponseImpl.jav
>> a:68)
>> at
>> org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:814)
>> at
>> org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:787)
>> at
>> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSI
>> nInterceptor.java:212)
>> at
>> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSI
>> nInterceptor.java:77)
>> at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
>> Chain.java:308)
>> at
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiation
>> Observer.java:121)
>> at
>> org.apache.cxf.transport.local.LocalConduit.dispatchDirect(LocalConduit.java
>> :191)
>> at org.apache.cxf.transport.local.LocalConduit.close(LocalConduit.java:156)
>> at
>> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi
>> ngInterceptor.handleMessage(MessageSenderInterceptor.java:62)
>> at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
>> Chain.java:308)
>> at
>> org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractCli
>> ent.java:649)
>> at
>> org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:
>> 1093)
>> at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:894)
>> at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:865)
>> at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:428)
>> at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:458)

Mime
View raw message