[ 
https://issues.apache.org/jira/browse/CXF-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13871985#comment-13871985
 ] 

Andriy Redko commented on CXF-5417:
-----------------------------------

Hi Sergey,

Thanks a lot for the idea. I haven't consider that, but I doubt it will work. 
The reason - client should listen for some port so we can open a Socket to it.  
What I have in mind is to use the same HTTP connection already established 
between client and server but send the HTTP message (with empty response) to 
kind of 'ping' or 'heartbeat' the connection. What do you think, might it work?

Thanks.
Andriy

> Support optional JAX-RS 2.0 ConnectionCallback
> ----------------------------------------------
>
>                 Key: CXF-5417
>                 URL: https://issues.apache.org/jira/browse/CXF-5417
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS, Transports
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>
> https://jax-rs-spec.java.net/nonav/2.0/apidocs/javax/ws/rs/container/ConnectionCallback.html
> lets JAX-RS 2.0 applications receive the notifications when a given client 
> has disconnected.
> We can probably build something on top of the Jetty-specific connector and 
> also enhance CXF Continuation API. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to