EMA C++ Performace Tools Guide : 4 Consumer Performance Tool : 4.5 Input : 4.5.1 EmaConfig.xml Examples : 4.5.1.2 Channel Section
 
4.5.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.
To connect to the provider for TCP and WebSocket connections, you must specify Host and Port fields.
To connect to the provider for encrypted connection, you must specify Host, Port, and OpenSSLCAStore fields.
 
 
<Channel>
    <Name value="Perf_Channel_1"/>
    <ChannelType value="ChannelType::RSSL_SOCKET"/>
    <CompressionType value="CompressionType::None"/>
    <GuaranteedOutputBuffers value="5000"/>
    <NumInputBuffers value="2048"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="1"/>
    <DirectWrite value="0"/>
    <Host value="localhost"/>
    <Port value="14002"/>
</Channel>
 
Example 2: Channel Section Example of TCP Connection Type
 
 
<Channel>
    <Name value="Perf_Channel_Encr_1"/>
    <ChannelType value="ChannelType::RSSL_ENCRYPTED"/>
    <EncryptedProtocolType value="EncryptedProtocolType::RSSL_SOCKET"/>
    <CompressionType value="CompressionType::None"/>
    <GuaranteedOutputBuffers value="5000"/>
    <NumInputBuffers value="2048"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="1"/>
    <Host value="localhost"/>
    <Port value="14002"/>
    <OpenSSLCAStore value="./RootCA.crt"/>
</Channel>
 
Example 3: Channel Section Example of Encrypted Connection Type