void CustomTopicsMappingsTypeToTopic(EndpointConfiguration endpointConfiguration) { #region CustomTopicsMappingsTypeToTopic var transport = new SqsTransport(); transport.MapEvent <SubscribedEvent>("topic-used-by-the-publisher"); endpointConfiguration.UseTransport(transport); #endregion }
void CustomTopicsMappingsTypeToTopicForTopology(EndpointConfiguration endpointConfiguration) { #region CustomTopicsMappingsTypeToTopicForTopology var transport = new SqsTransport(); transport.MapEvent <IOrderAccepted>("namespace-OrderAccepted"); endpointConfiguration.UseTransport(transport); #endregion }
void CustomTopicsMappingsTypeToType(EndpointConfiguration endpointConfiguration) { #region CustomTopicsMappingsTypeToType var transport = new SqsTransport(); transport.MapEvent <SubscribedEvent, PublishedEvent>(); endpointConfiguration.UseTransport(transport); #endregion }