Adapter initialization: Bloomberg BLPAPI and EMSX

The following code shows how to initialize BloombergMessageAdapter and add it to Connector.

var messageAdapter = new BloombergMessageAdapter(Connector.TransactionIdGenerator)
{
	SdkPath = "<value>",
	EmsxService = "<value>",
	Broker = "<value>",
	ServerAddress = "<value>".To<EndPoint>(),
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

Replace the sample values with the parameters issued or configured for your account.

See also

Connection settings window