Adapter initialization: Shoonya
The following code shows how to initialize ShoonyaMessageAdapter and add it to Connector.
var messageAdapter = new ShoonyaMessageAdapter(Connector.TransactionIdGenerator)
{
Token = "<value>".ToSecureString(),
UserId = "<value>",
AccountId = "<value>",
ReconnectAttempts = 10,
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
Replace the sample values with the parameters issued or configured for your account.