public static ChannelConfiguration Create(Action <ChannelConfigurationDsl> config) { var configuration = new ChannelConfiguration(); config(new ChannelConfigurationDsl(configuration)); return(configuration); }
public static Channel Create( Connection connection, ChannelConfiguration channelConfiguration, Action <ChannelConfigurationDsl> config) { config(new ChannelConfigurationDsl(channelConfiguration)); return(new Channel(connection, channelConfiguration)); }
public Channel( Connection connection, ChannelConfiguration configuration) { _serializer = connection.Configuration.Serializer; Configuration = configuration; _channel = new Lazy <IModel>(connection.CreateChannel); _callBackChannel = new Lazy <IModel>(connection.CreateChannel); replyTo = "RpcCallBack_" + GetFriendlyApplicationName(); }
protected DefinitionBase(Connection connection) { Configuration = new ChannelConfiguration(); Channel = new Channel(connection, Configuration); }
public ChannelConfigurationDsl(ChannelConfiguration configuration) { _configuration = configuration; }
public TopicQueueConfigurationDsl(ChannelConfiguration channelConfiguration) { _channelConfiguration = channelConfiguration; }
public TopicExchangeConfigurationDsl(ChannelConfiguration channelConfiguration) { _channelConfiguration = channelConfiguration; }
public DirectQueueConfigurationDsl(ChannelConfiguration channelConfiguration) { _channelConfiguration = channelConfiguration; }
public DirectExchangeConfigurationDsl(ChannelConfiguration channelConfiguration) { _channelConfiguration = channelConfiguration; }
public FanoutQueueConfigurationDsl(ChannelConfiguration channelConfiguration) { _channelConfiguration = channelConfiguration; }
public FanoutExchangeConfigurationDsl(ChannelConfiguration channelConfiguration) { _channelConfiguration = channelConfiguration; }
public static Channel Create( Connection connection, Action <ChannelConfigurationDsl> config) { return(new Channel(connection, ChannelConfiguration.Create(config))); }