public ActiveMqHostTopology(IMessageNameFormatter messageNameFormatter, Uri hostAddress, IActiveMqTopologyConfiguration topologyConfiguration) : base(topologyConfiguration) { _messageNameFormatter = messageNameFormatter; _hostAddress = hostAddress; _topologyConfiguration = topologyConfiguration; }
public ActiveMqTopologyConfiguration(IActiveMqTopologyConfiguration topologyConfiguration) { _messageTopology = topologyConfiguration.Message; _sendTopology = topologyConfiguration.Send; _publishTopology = topologyConfiguration.Publish; _consumeTopology = new ActiveMqConsumeTopology(topologyConfiguration.Message, topologyConfiguration.Publish); }
public ActiveMqBusConfiguration(IActiveMqTopologyConfiguration topologyConfiguration) : base(topologyConfiguration) { HostConfiguration = new ActiveMqHostConfiguration(this, topologyConfiguration); BusEndpointConfiguration = CreateEndpointConfiguration(); _busObservers = new BusObservable(); }
public ActiveMqHostConfiguration(IActiveMqBusConfiguration busConfiguration, IActiveMqTopologyConfiguration topologyConfiguration) { _busConfiguration = busConfiguration; _topologyConfiguration = topologyConfiguration; _hostSettings = new ConfigurationHostSettings(new Uri("activemq://localhost")); _proxy = new ActiveMqHostProxy(this); }
public ActiveMqHostConfiguration(IActiveMqBusConfiguration busConfiguration, IActiveMqTopologyConfiguration topologyConfiguration) : base(busConfiguration) { _busConfiguration = busConfiguration; _hostSettings = new ConfigurationHostSettings(new Uri("activemq://localhost")); _hostTopology = new ActiveMqHostTopology(this, topologyConfiguration); _connectionContext = new Recycle <IConnectionContextSupervisor>(() => new ConnectionContextSupervisor(this, topologyConfiguration)); }
public ActiveMqHostConfiguration(IActiveMqBusConfiguration busConfiguration, IActiveMqTopologyConfiguration topologyConfiguration) : base(busConfiguration) { _busConfiguration = busConfiguration; _hostSettings = new ConfigurationHostSettings(new Uri("activemq://localhost")); _hostTopology = new ActiveMqHostTopology(this, topologyConfiguration); ReceiveTransportRetryPolicy = Retry.CreatePolicy(x => { x.Handle <ConnectionException>(); x.Exponential(1000, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(3)); }); _connectionContext = new Recycle <IConnectionContextSupervisor>(() => new ConnectionContextSupervisor(this, topologyConfiguration)); }
public ActiveMqHostTopology(IActiveMqHostConfiguration hostConfiguration, IActiveMqTopologyConfiguration topologyConfiguration) : base(hostConfiguration, topologyConfiguration) { _hostConfiguration = hostConfiguration; _topologyConfiguration = topologyConfiguration; }
public ConnectionContextSupervisor(IActiveMqHostConfiguration hostConfiguration, IActiveMqTopologyConfiguration topologyConfiguration) : base(new ConnectionContextFactory(hostConfiguration)) { _hostConfiguration = hostConfiguration; _topologyConfiguration = topologyConfiguration; }
ActiveMqEndpointConfiguration(IEndpointConfiguration parentConfiguration, IActiveMqTopologyConfiguration topologyConfiguration) : base(parentConfiguration, topologyConfiguration) { _topologyConfiguration = topologyConfiguration; }
protected ActiveMqEndpointConfiguration(IActiveMqTopologyConfiguration topologyConfiguration) : base(topologyConfiguration) { _topologyConfiguration = topologyConfiguration; }
public ActiveMqBusConfiguration(IActiveMqTopologyConfiguration topology) : base(topology) { _hosts = new HostCollection <IActiveMqHostConfiguration>(); }
ActiveMqEndpointConfiguration(IEndpointConfiguration parentConfiguration, IActiveMqTopologyConfiguration topologyConfiguration, IConsumePipe consumePipe = null) : base(parentConfiguration, topologyConfiguration, consumePipe) { _topologyConfiguration = topologyConfiguration; }
public ActiveMqEndpointConfiguration(IActiveMqTopologyConfiguration topologyConfiguration, IConsumePipe consumePipe = null) : base(topologyConfiguration, consumePipe) { _topologyConfiguration = topologyConfiguration; }