Chinchilla.Sample.SharedSubscriptions.MessagePublisherTopology.Build C# (CSharp) Méthode

Build() public méthode

public Build ( IEndpoint endpoint ) : IMessageTopology
endpoint IEndpoint
Résultat IMessageTopology
        public IMessageTopology Build(IEndpoint endpoint)
        {
            var topology = new MessageTopology();
            topology.PublishExchange = topology.DefineExchange(endpoint.Name, ExchangeType.Topic);

            return topology;
        }
    }
MessagePublisherTopology