<?xml version="1.0" encoding="GBK"?>
<!-- version="V3.7.1.8" -->
<application name="ar_ufx" redirect="y">
    <mainsvr stop_sequence="ospf">
        <plugins>
            <plugin lib="fsc_f2log" getinfo="GetLogServiceInfo" load_level="1" note="日志插件">
                <args cfgfile="log.xml" default_level="3"/>
            </plugin>
            <plugin lib="fsc_f2mproxy" getinfo="GetMProxyInfo" load_level="1" note="管理代理"/>
            <plugin lib="fsc_f2ospf" getinfo="GetOSPFInfo" load_level="1" note="fsc_f2ospf"/>
            <plugin lib="fsc_filter_log" getinfo="GetFilterLogInfo" load_level="1" note="抓包">
                <args start="n"/>
            </plugin>
            <plugin lib="fsc_f2pack" getinfo="GetPackSvrInfo" load_level="0">
                <args v1_count="600" v2_count="600"/>
            </plugin>
            <plugin lib="fsc_esbmsg" getinfo="GetESBMessageFactoryInfo" load_level="0" note="ESB消息工厂插件">
                <args msgs_pool_number="8" init_msgs_inpool="10000" max_msgs_inapp="16000" max_msgs_inpool="10000"/>
            </plugin>
            <plugin lib="fsc_f2config" getinfo="GetCfgSvrInfo" load_level="0"/>
            <plugin lib="fsc_f2security" getinfo="GetSecurityInfo" load_level="1" note="安全服务"/>
            <plugin lib="fsc_router" getinfo="GetRouterInfo" load_level="1" note="路由">
                <args thread_num="8"/>
                <routes>
                    <routetable functionid="8" pluginid="mproxy"/>
                    <!--ufx对接06时，某些客户端可能只会连接交易AR，UFT2.0前置能处理订阅的功能号，但是06需把订阅的功能号转到消息中心去处理-->
                    <!-- 1603,338218为询价功能号，路由到加载询价流控插件的AR处理-->
                    <routetable functionid="1603;338218;" nodename="ar_askprice06#0" truncation="0"/>
                    <routetable functionid="1603;338218;" nodename="ar_askprice06#1" truncation="1"/>
                    <routetable functionid="620???;338313;330854" nodename="msg_client"/>
                    <routetable functionid="*;" nodename="ar_06"/>
                </routes>
                <defaultgateway/>
            </plugin>
            <plugin lib="fsc_channel_t2" getinfo="GetT2ChannelInfo" note="t2通道_公网">
                <config>
                    <safe safe_level="none" default_comm_key=""/>
                    <ssl cert_file="" cert_pwd=""/>
                    <network protocol="tcp" address="" port="9006"/>
                    <performance thread_count="10" max_connection="10000" init_connection="50" init_recv_buf_size="1024" init_send_buf_size="1024" send_queue_size="10000"/>
                    <limit license_dir="license" register_time="5" heartbeat_time="60" check_ordinal="1" forbidadmin="1"/>
                </config>
            </plugin>
            <plugin lib="fsc_channel_t2" getinfo="GetT2ChannelInfo" note="t2#1通道_内网" instance="1">
                <config>
                    <safe safe_level="none" default_comm_key=""/>
                    <ssl cert_file="" cert_pwd=""/>
                    <network protocol="tcp" address="" port="9007"/>
                    <performance thread_count="10" max_connection="10000" init_connection="50" init_recv_buf_size="1024" init_send_buf_size="1024" send_queue_size="10000"/>
                    <limit license_dir="license" register_time="5" heartbeat_time="60" check_ordinal="1"/>
                </config>
            </plugin>
            <plugin lib="fsc_channel_f2" getinfo="GetF2ChannelInfo" load_level="1" note="f2通道">
                <args port="8902" safetype="0" comm_thread_num="4"/>
                <parents>
                    <parent parentname="ar_06"/>
                    <parent parentname="msg_client"/>
                    <!--务必在nrs.xml中增加上级询价流控AR(ar_askprice06)的地址和f2端口号-->
                    <parent parentname="ar_askprice06"/>
                </parents>
            </plugin>
            <!--<<start**************************biztrans*******************************************-->
            <!--timeout配置成10，用户查数据，如果超过timeout，就会返回错误，06查历史性能比较差，建议配置大一点 -->
            <plugin lib="fsc_biztrans" getinfo="GetBizTransInfo" load_level="1" note="业务转换">
                <args thread_num="4" logpath="./log/biztrans_ufx" loglevel="5" outputdest="3"
                    refresh_time="160000" sendpath_useable="1" timeout="10" filter_level="0" OriginPackerVersion="1" complex_flag_useable="0" 
                    template="switch_config_hs_06.xml"/>
                    <compatible pack_convert="1"/>
            </plugin>
            <plugin lib="fsc_bizpluginmgr" getinfo="GetbizpluginmgrInfo" load_level="1" note="业务插件管理">
                <args thread_num="16" log_level="3"/>
                <components>
                    <component name="bizpluginJg">
                    </component>
                </components>
            </plugin>
            <!--*********************************biztrans*************************************end>>-->
            <plugin lib="fsc_pipe_mgr" is_inter="1" note="消息流水线配置">
                <pipe>ospf;router</pipe>
                <pipe>mproxy;router</pipe>
                <pipe>t2;bizpluginmgr;router</pipe>
                <pipe>t2#1;filter_log;router</pipe>
                <pipe>f2;biztrans;router</pipe>
            </plugin>
        </plugins>
    </mainsvr>
</application>
