C# Class paramore.brighter.commandprocessor.MessagingConfiguration

Class MessagingConfiguration. Used to set the components of a work queue solution
Exibir arquivo Open project: iancooper/Paramore Class Usage Examples

Public Methods

Method Description
MessagingConfiguration ( IAmAMessageStore messageStore, IAmAMessageProducer messageProducer, IAmAMessageMapperRegistry messageMapperRegistry, int messageStoreWriteTimeout = 300, int messagingGatewaySendTimeout = 300 )

Initializes a new instance of the MessagingConfiguration class.

MessagingConfiguration ( IAmAMessageStore messageStore, IAmAMessageStoreAsync asyncMessageStore, IAmAMessageProducer messageProducer, IAmAMessageProducerAsync asyncmessageProducer, IAmAMessageMapperRegistry messageMapperRegistry, int messageStoreWriteTimeout = 300, int messagingGatewaySendTimeout = 300 )

Initializes a new instance of the MessagingConfiguration class.

MessagingConfiguration ( IAmAMessageStoreAsync asyncMessageStore, IAmAMessageProducerAsync asyncmessageProducer, IAmAMessageMapperRegistry messageMapperRegistry, int messageStoreWriteTimeout = 300, int messagingGatewaySendTimeout = 300 )

Initializes a new instance of the MessagingConfiguration class.

Method Details

MessagingConfiguration() public method

Initializes a new instance of the MessagingConfiguration class.
public MessagingConfiguration ( IAmAMessageStore messageStore, IAmAMessageProducer messageProducer, IAmAMessageMapperRegistry messageMapperRegistry, int messageStoreWriteTimeout = 300, int messagingGatewaySendTimeout = 300 )
messageStore IAmAMessageStore The message store.
messageProducer IAmAMessageProducer The messaging gateway.
messageMapperRegistry IAmAMessageMapperRegistry The message mapper registry.
messageStoreWriteTimeout int How long to wait when writing to the message store
messagingGatewaySendTimeout int How long to wait when sending via the gateway

MessagingConfiguration() public method

Initializes a new instance of the MessagingConfiguration class.
public MessagingConfiguration ( IAmAMessageStore messageStore, IAmAMessageStoreAsync asyncMessageStore, IAmAMessageProducer messageProducer, IAmAMessageProducerAsync asyncmessageProducer, IAmAMessageMapperRegistry messageMapperRegistry, int messageStoreWriteTimeout = 300, int messagingGatewaySendTimeout = 300 )
messageStore IAmAMessageStore The message store.
asyncMessageStore IAmAMessageStoreAsync The message store that supports async/await.
messageProducer IAmAMessageProducer The messaging gateway.
asyncmessageProducer IAmAMessageProducerAsync The messaging gateway that supports async/await.
messageMapperRegistry IAmAMessageMapperRegistry The message mapper registry.
messageStoreWriteTimeout int How long to wait when writing to the message store
messagingGatewaySendTimeout int How long to wait when sending via the gateway

MessagingConfiguration() public method

Initializes a new instance of the MessagingConfiguration class.
public MessagingConfiguration ( IAmAMessageStoreAsync asyncMessageStore, IAmAMessageProducerAsync asyncmessageProducer, IAmAMessageMapperRegistry messageMapperRegistry, int messageStoreWriteTimeout = 300, int messagingGatewaySendTimeout = 300 )
asyncMessageStore IAmAMessageStoreAsync The message store that supports async/await.
asyncmessageProducer IAmAMessageProducerAsync The messaging gateway that supports async/await.
messageMapperRegistry IAmAMessageMapperRegistry The message mapper registry.
messageStoreWriteTimeout int How long to wait when writing to the message store
messagingGatewaySendTimeout int How long to wait when sending via the gateway