On Sun, May 19, 2013 at 9:32 PM, Sriskandarajah Suhothayan <s...@wso2.com>wrote:

> This can occur if you are passing Agent into the data-publisher when
> initializing the data-publisher. Currently we have improved the code in
> such away that you don’t need to pass the Agent object at all. If you pass
> the agent then is might lead to an error condition
>

Thanks suho, that solves the problem.
Is that means we should use one agent configuration for different kind of
data publishers? I hope when we don't pass agent configuration data-bridge
will create one agent configuration and use it among all the data
publishers. isn't it?

Thanks,
KasunW.


> If that is not the case then we have to drop the message if it cannot
> acquire the semaphore.  But note the semaphore will be full only if the
> server is down and its not sending messages or if the arriving rate is
> significantly higher than the sending rate.
>
> If this is not due to the erroneous case & if its necessary my +1 for you
> to implement the message dropping scenario.
> but do add a configuration to enable and disable this functionality
>
> Suho
>
>
> On Sun, May 19, 2013 at 2:59 PM, Kasun Weranga <kas...@wso2.com> wrote:
>
>> Forwarding to dev list.
>>
>> Hi Suho,
>>
>> We faced integration tests hang up issue and the root cause for this
>> issue comes from Semaphore acquire method in publish method and it wait
>> forever for acquiring the Semaphore. This can be easily reproduce in BAM
>> integration tests. Can you please have a look?
>>
>> Thanks,
>> KasunW.
>>
>>
>>
>>
>
>
> --
> *S. Suhothayan
> *
> *Software Engineer,
> Member, Management Committee - Data Technologies Team,
> *
> * *
> *WSO2 Inc. **http://wso2.com
>  <http://wso2.com/>*
> *lean . enterprise . middleware*
>
> *cell: (+94) 779 756 757
> blog: **http://suhothayan.blogspot.com/* <http://suhothayan.blogspot.com/>
> *
> twitter: **http://twitter.com/suhothayan* <http://twitter.com/suhothayan>*
> linked-in: **http://lk.linkedin.com/in/suhothayan*
> *
> *
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to