Hi Nirmal,

ReconnectionService is not something associated with main publishing logic,
and it's used for the health check of the receivers. Therefore calling
shutdownNow() for the that doesn't break anything on event publishing flow.

Thanks,
Sinthuja.

On Tue, Aug 2, 2016 at 11:56 PM, Nirmal Fernando <[email protected]> wrote:

> Hi,
>
> $Subject? Even though the API java doc says it is graceful, is it really
> graceful ? At [1] it calls shutdownNow in the executor service and that is
> not graceful.
>
> [1]
> https://github.com/wso2/carbon-analytics-common/blob/master/components/data-bridge/org.wso2.carbon.databridge.agent/src/main/java/org/wso2/carbon/databridge/agent/endpoint/DataEndpointGroup.java#L467
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Sinthuja Rajendran*
Technical Lead
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to