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

Trey Sargent commented on CAMEL-9566:
-------------------------------------

Thank you Claus.  In order to test I did have to clone the 2.16.x branch and 
migrate your changes to 2.16.3-SNAPSHOT since all my other dependencies 
required 2.16.  However, this did not resolve the issue.  There simply is no 
detection of the lost socket connection.  When I shutdown the websocket server 
(i.e another camel endpoint using the camel-websocket component) I don't think 
the onClose() method is ever invoked.

Perhaps we could add a condition in the WsProducer for sendMessage() to check 
the connection state and throw an Exception if the connection is closed.

Question:  Is there a way to enable debugging for a single bundle in Karaf? 

> camel-asf-ws component does not reconnect to the web socket 
> ------------------------------------------------------------
>
>                 Key: CAMEL-9566
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9566
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ahc-ws
>    Affects Versions: 2.16.1
>         Environment: Any
>            Reporter: Mohit
>             Fix For: Future
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Create a web socket consumer route 
> Ensure that the web socket provider is available
> Create connection to the web socket provider from the consumer
> Send a message from the provider (send to all)
> Message gets consumed in the consumer route
> Bring down the producer
> Bring up the producer 
> Create connection to the web socket provider from the consumer
> Send a message from the provider (send to all)
> Message is not printed as reconnect was not done



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to