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] [Resolved] (CAMEL-7706) Camel JGroups does not disconnect shared JChannel correctly
Date Fri, 15 Aug 2014 19:37:20 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-7706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dhiraj Bokde resolved CAMEL-7706.
---------------------------------

    Resolution: Fixed

Added fix and unit test with commit https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commit;h=7936f2f6c1220f454d4d524a9ba078d41d92a0f6

> 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