Hi all,

In APIM, even if we change the port offset to something other than 0, it
does not affect the Thrift port. So I fixed it, and the new behavior is
like this.

In default configuration, both ThriftClientPort and ThriftServerPort are
commented out.

<KeyValidatorClientType>ThriftClient</KeyValidatorClientType>
<!--ThriftClientPort>10397</ThriftClientPort-->
<ThriftClientConnectionTimeOut>10000</ThriftClientConnectionTimeOut>
<!--ThriftServerPort>10397</ThriftServerPort-->
<ThriftServerHost>localhost</ThriftServerHost>
<EnableThriftServer>true</EnableThriftServer>


The default value of both ports is 10397, and if there is a port offset,
the ports will be changed accordingly.

If someone needs to specify a port, they can uncomment the port config and
set a port. That won't be affected by the port offset.

Thanks,

-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to