camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7706) Camel JGroups does not disconnect shared JChannel correctly
Date Fri, 15 Aug 2014 19:29:18 GMT
Dhiraj Bokde created CAMEL-7706:
-----------------------------------

             Summary: Camel JGroups does not disconnect shared JChannel correctly
                 Key: CAMEL-7706
                 URL: https://issues.apache.org/jira/browse/CAMEL-7706
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.13.2
            Reporter: Dhiraj Bokde
            Assignee: Dhiraj Bokde
             Fix For: 2.13.3, 2.14.0


Camel JGroups component uses a JGroups JChannel object in JGroupsEndpoint, which is shared
by its JGroupsProducer and JGroupsConsumer. 
However, both the producer and consumer call disconnect() independently in their doStop()
methods. This can leave a producer or consumer disconnected if the other is stopped.
The channel connect/disconnect could use a shared counter to determine when the channel should
be disconnected. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message