private void LogCreatingEndpoint(BusEndpointInfo endpointInfo, LogBuffer logBuffer) { logBuffer.Information( "Creating service endpoint:\n\tAddress: {0}\n\tQueue name:{1}", endpointInfo.LocalhostUri, endpointInfo.QueueName); }
private void AddServiceEndpoint(ServiceHost serviceHost, BusEndpointInfo endpointInfo) { var busBinding = new BusReceiverBinding(endpointInfo.Type.IsTransactional()); serviceHost.AddServiceEndpoint(typeof(IBusReceiver), busBinding, endpointInfo.LocalhostUri); }