<!--
  ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com)
  ~
  ~ Licensed under the Apache License, Version 2.0 (the License);
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an AS IS BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<dataBridgeConfiguration>

    <workerThreads>10</workerThreads>

    <!--Maximum amount of messages that can be queued internally in MB-->
    <maxEventBufferCapacity>10</maxEventBufferCapacity>

    <!-- Queue size; the maximum number of events that can be stored in the queue -->
    <eventBufferSize>2000</eventBufferSize>
    <clientTimeoutMin>30</clientTimeoutMin>

    <keyStoreLocation>${carbon.home}/repository/resources/security/wso2carbon.jks</keyStoreLocation>
    <keyStorePassword>wso2carbon</keyStorePassword>

    <dataReceiver name="Thrift">
        <config name="tcpPort">7611</config>
        <config name="sslPort">7711</config>
        <!--<config name="sslEnabledProtocols">TLSv1,TLSv1.1,TLSv1.2</config>-->
        <!--<config name="ciphers">SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA</config>-->

        <!--The maximum size of the data receiving worker thread pool. Default value is 20.-->
        <!--<config name="tcpMaxWorkerThreads">5</config>-->

        <!--The minimum or the starting size of the data receiving worker thread pool. Default value is 5.-->
        <!--<config name="tcpMinWorkerThreads">2</config>-->

        <!--The request timeout in milli seconds. Default value is 20.-->
        <!--<config name="tcpRequestTimeout">15</config>-->

        <!--The stop timeout in milliseconds. Default value is 60.-->
        <!--<config name="tcpStopTimeoutVal">50</config>-->

        <!--The maximum size of the authenticating worker thread pool. Default value is 20.-->
        <!--<config name="sslMaxWorkerThreads">5</config>-->

        <!--The minimum or the starting size of the authenticating worker thread pool. Default value is 5.-->
        <!--<config name="sslMinWorkerThreads">2</config>-->

        <!--The request timeout in milli seconds. Default value is 20.-->
        <!--<config name="sslRequestTimeout">15</config>-->

        <!--The stop timeout in milliseconds. Default value is 60.-->
        <!--<config name="sslStopTimeoutVal">50</config>-->
    </dataReceiver>

    <dataReceiver name="Binary">
        <config name="tcpPort">9611</config>
        <config name="sslPort">9711</config>
        <config name="sslReceiverThreadPoolSize">100</config>
        <config name="tcpReceiverThreadPoolSize">100</config>
        <!--<config name="sslEnabledProtocols">TLSv1,TLSv1.1,TLSv1.2</config>-->
        <!--<config name="ciphers">SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA</config>-->
    </dataReceiver>

</dataBridgeConfiguration>
