Url schema situation/question

Hi guys!

On a previous question I asked how to specify a specific protocol and class to manage a url schema, for example how to setup “supertcp://” to use Synapse instead of Indy.

The answer came quickly by indicating that we can override the behaviour via the ROUrlSchemaParser.ProtocolHandler[] array, now, that’s great, thank you very much.

But now the question is, if we specify “supertcp://localhost:8090/Bin” can we assume that AutoReconnect on the channel will be enabled by default? or is there a way to specify something like that?

On full duplex channels like supertcp we expect to reconnect, so just wondering.

Do we have similar options for .Net clients to specify reconnection?

Thank you in advance.

you can create own descendant of Synapse based channel where you can set all required options. later you can register it in ROUrlSchemaParser.

@antonk: can you answer to this?

Yes, we do have the same option for the IpSuperTcpClientChannel channel. It is named AutoReconnect and by default is set to true. The reconnection timeout is set via the ReconnectTimeout property with default value of 500 (ie 0.5 seconds)

Thank you very much guys.