question

Upvotes
Accepted
7 1 0 1

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?

elektron-sdk#technologyema-apielektron-message-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
87.1k 294 53 79

@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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.