Data-bridge is a component that is being used to publish data via Thrift to
both BAM and CEP.

Earlier versions only supported Thrift over tcp (including SSL support).
Now its improved to support Thrift over http & https, enabling data
transfer to be load balanced.

To use this, start the DataPublisher as follows;

DataPublisher dataPublisher = new DataPublisher(<authentication-url>,
<data-transfer-url>, <user-name>, <password>);

Here <authentication-url> can be  ssl://<host>:<port>  or  https://
<host>:<port>
and <data-transfer-url> can be     tcp://<host>:<port>  or  http://
<host>:<port>

E.g
//for authentication via https and data transfer via http
DataPublisher dataPublisher = new DataPublisher("https://localhost:9443";, "
http://localhost:9763";, "admin", "admin");

//for authentication via https and data transfer via tcp
DataPublisher dataPublisher = new DataPublisher("https://localhost:9443";,
"tcp://localhost:7611", "admin", "admin");


Regards
Suho

-- 
*S. Suhothayan
*
Software Engineer,
Data Technologies Team,
 *WSO2, Inc. **http://wso2.com
 <http://wso2.com/>*
*lean.enterprise.middleware.*

*email: **[email protected]* <[email protected]>* 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*
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to