lib/msgServer/index.js
function assertMsgServerIsEnabled() {
	assert(cfgMmrp.bind, 'No MMRP bindings configured');
	assert(cfgMsgStream, 'The message stream has been disabled.');
	assert(cfgMsgStream.transports, 'The message stream has no configured transports.');
	assert(serviceDiscovery.isEnabled(), 'Service discovery has not been configured');
}
function assertMsgServerIsEnabled() {
	assert(cfgMmrp.bind, 'No MMRP bindings configured');
	assert(cfgMsgStream, 'The message stream has been disabled.');
	assert(cfgMsgStream.transports, 'The message stream has no configured transports.');
	assert(serviceDiscovery.isEnabled(), 'Service discovery has not been configured');
}
function assertMsgServerIsEnabled ( ) { assert ( cfgMmrp . bind , 'No MMRP bindings configured' ) ; assert ( cfgMsgStream , 'The message stream has been disabled.' ) ; assert ( cfgMsgStream . transports , 'The message stream has no configured transports.' ) ; assert ( serviceDiscovery . isEnabled ( ) , 'Service discovery has not been configured' ) ; }
Throws an error if the message server is not enabled due to missing configuration
Throws an error if the message server is not enabled due to missing configuration