Click or drag to resize

Adapter initialization RSS

The code below demonstrates how to initialize the RssMessageAdapter and send it to Connector.

C#
var messageAdapter = new RssMessageAdapter(Connector.TransactionIdGenerator)
{
    Address = new Uri("http://energy.rss"),
    CustomDateFormat = "ddd, dd MMM yyyy HH:mm:ss zzzz"
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also