Failover between Encrypted and non-Encrypted ADS using EMA

Is there a way to configure EMA so that it can failover between two ADSs, one with Encryption Enabled and One with Encryption Disabled?

Best Answer

  • Jirapongse
    Answer ✓

    @ron.bove01

    Thanks for reaching out to us.

    You can try the ChannelSet configuration.

    <Consumer>         
                <Name value="Consumer_1"/>
                <ChannelSet value="Channel_3, Channel_1"/>
                <Dictionary value="Dictionary_2"/>
                <XmlTraceToStdout value="0"/>
    </Consumer>

    For example, the channel_3 is an encrypted channel type and the channel_1 is a socket channel type.

    <ChannelList>
            <Channel>
                <Name value="Channel_1"/>          
    <ChannelType value="ChannelType::RSSL_SOCKET"/>
          
                <CompressionType value="CompressionType::None"/>
                <GuaranteedOutputBuffers value="5000"/>         
                <ConnectionPingTimeout value="30000"/>           
                <TcpNodelay value="1"/>
                <Host value="192.168.27.40"/>
                <Port value="14002"/>
            </Channel>
        ..
            <Channel>
                <Name value="Channel_3"/>
    <ChannelType value="ChannelType::RSSL_ENCRYPTED"/>

                <GuaranteedOutputBuffers value="5000"/>
                <ConnectionPingTimeout value="30000"/>
                <TcpNodelay value="1"/>
                <Host value="www.test.com"/>
                <Port value="14002"/>
                <ObjectName value=""/>
            </Channel>
    ...

    Is it EMA C++ or EMA Java?

    I hope that this information is of help.