EMA C++ Performace Tools Guide : 6 Non-Interactive Provider Performance Tool : 6.6 Input Files : 6.6.1 EmaConfig.xml Examples : 6.6.1.2 Channel Section
 
6.6.1.2 Channel Section
When creating a channel section, you must include the Name and ChannelType fields. For details on Name and ChannelType, refer to the Enterprise Message API Configuration Guide.
You must specify Host and Port fields to connect to ADH for TCP connection.
You must specify RecvAddress, RecvPort, SendAddress, SendPort, UnicastPort, and InterfaceName fields to connect to ADH for reliable multi-cast connection.
You must specify Host, Port, and OpenSSLCAStore fields to connect to ADH for encrypted connection.
 
 
<Channel>
    <Name value="Perf_NIP_Channel_1"/>
    <ChannelType value="ChannelType::RSSL_SOCKET"/>
    <GuaranteedOutputBuffers value="100000"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="0"/>
    <Host value="adh_ip_address"/>
    <Port value="14003"/>
</Channel>
 
Example 16: Channel Section Example of the TCP Connection Type
 
 
<Channel>
    <Name value="Perf_NIP_Channel_Mcast_1"/>
    <ChannelType value="ChannelType::RSSL_RELIABLE_MCAST"/>
    <RecvAddress value="mcast_recv_ip_address"/>
    <RecvPort value="mcast_recv_port"/>
    <SendAddress value="mcast_send_ip_address"/>
    <SendPort value="mcast_send_port"/>
    <UnicastPort value="50000"/>
    <InterfaceName value="ip_address"/>
</Channel>
 
Example 17: Server Section Example of the Reliable Multi-cast Connection
 
 
<Channel>
    <Name value="Perf_NIP_Channel_Encr_1"/>
    <ChannelType value="ChannelType::RSSL_ENCRYPTED"/>
    <EncryptedProtocolType value="EncryptedProtocolType::RSSL_SOCKET"/>
    <GuaranteedOutputBuffers value="100000"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="0"/>
    <Host value="adh_ap_address"/>
    <Port value="adh_rsslServerPort"/>
    <OpenSSLCAStore value="./myCA.pem"/>
</Channel>
 
Example 18: Server Section Example of the Encrypted Connection