Hi all, I am experiencing $subject when using multiple event publishers. Earlier implementation of CEP used only one http client per http adapter which used SystemDefaultHttpClient. But it couldn't handle high frequency of data. So i managed to implement PoolingHttpClientConnectionManager and use the CloaseableHttpClient. It works perfectly when theres only one http adapter. But when I add another http adapter, it does not publish the requests using the adapter i added secondly.
Im using Apache HttpClient 4.3.3 Any suggestions for the reason or any alternative ways to overcome this issue? The following link[1] is my implementation. I referred to this post[2] as well. 1. https://github.com/ramindu90/carbon-analytics-common/blob/http-performance-testing/components/event-publisher/event-output-adapters/org.wso2.carbon.event.output.adapter.http/src/main/java/org/wso2/carbon/event/output/adapter/http/HTTPEventAdapter.java 2. http://www.baeldung.com/httpclient-connection-management -- *Ramindu De Silva* Software Engineer WSO2 Inc.: http://wso2.com lean.enterprise.middleware email: [email protected] <[email protected]> mob: +94 772339350 mob: +94 782731766
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
