Hi Aruna,

On 19 February 2014 15:10, Aruna Karunarathna <[email protected]> wrote:

> Hi Lasantha,
>
> I tried the AsyncDataPublisher.stop(), bu it did not solve my problem. But
> I used the DataPublisher.stop() and it worked fine.
>

Great!.. Mohan pointed out a similar mail thread with subject "When thrift
AsyncDataPublisher stopped shouldn't it get disconnected from DataBridge?"
[1] which might help with regard to AsyncDataPublsiher issue.

[1]
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-When-thrift-AsyncDataPublisher-stopped-shouldn-t-it-get-disconnected-from-DataBridge-td87546.html

Thanks,
Lasantha


> Thanks for the help, much appreciated.
>
> Regards,
>
>
> On Wed, Feb 19, 2014 at 2:25 PM, Lasantha Fernando <[email protected]>wrote:
>
>> Hi Aruna,
>>
>> Did you try calling AsyncDataPublisher.stop() ? I think that the actual
>> publisher, connector runs on separate threads and you need to call this
>> method to shutdown those threads.
>>
>> Thanks,
>> Lasantha
>>
>>
>> On 19 February 2014 14:12, Aruna Karunarathna <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I've created a BAM data publisher according to the sample explained in
>>> [1]. However I have observed that the process does not exit after
>>> publishing data.
>>>
>>> When exploring the cluster in BAM, the data has successfully published
>>> to the database.
>>>
>>> Why does the process does not exit after the completion?.. Any ideas,
>>> help is highly appreciated.
>>>
>>>
>>> [1] http://docs.wso2.org/display/BAM240/Data+Publisher
>>>
>>> Regards,
>>> --
>>>
>>> * Aruna Sujith Karunarathna* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: [email protected] | Web: www.wso2.com
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lasantha Fernando*
>> Software Engineer - Data Technologies Team
>> WSO2 Inc. http://wso2.com
>>
>> email: [email protected]
>> mobile: (+94) 71 5247551
>>
>
>
>
> --
>
> * Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: [email protected] | Web: www.wso2.com
>
>



-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: [email protected]
mobile: (+94) 71 5247551
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to