C# Class DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlMessageQueueSend

Sends a new message to an existing queue
Inheritance: ISendMessages
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
PostgreSqlMessageQueueSend ( ISentMessageFactory sentMessageFactory, long>.ICommandHandlerWithOutput sendMessage, long>.ICommandHandlerWithOutputAsync sendMessageAsync ) : System

Initializes a new instance of the PostgreSqlMessageQueueSend class.

Send ( IMessage messageToSend, IAdditionalMessageData data ) : IQueueOutputMessage

Sends a new message to an existing queue

Send ( IAdditionalMessageData>.List messages ) : IQueueOutputMessages

Sends a new message to an existing queue

SendAsync ( IMessage messageToSend, IAdditionalMessageData data ) : Task

Sends a new message to an existing queue

SendAsync ( IAdditionalMessageData>.List messages ) : Task

Sends new messages to an existing queue

Method Details

PostgreSqlMessageQueueSend() public method

Initializes a new instance of the PostgreSqlMessageQueueSend class.
public PostgreSqlMessageQueueSend ( ISentMessageFactory sentMessageFactory, long>.ICommandHandlerWithOutput sendMessage, long>.ICommandHandlerWithOutputAsync sendMessageAsync ) : System
sentMessageFactory ISentMessageFactory The sent message factory.
sendMessage long>.ICommandHandlerWithOutput The send message.
sendMessageAsync long>.ICommandHandlerWithOutputAsync The send message asynchronous.
return System

Send() public method

Sends a new message to an existing queue
Failed to insert record
public Send ( IMessage messageToSend, IAdditionalMessageData data ) : IQueueOutputMessage
messageToSend IMessage The message to send.
data IAdditionalMessageData The additional data.
return IQueueOutputMessage

Send() public method

Sends a new message to an existing queue
public Send ( IAdditionalMessageData>.List messages ) : IQueueOutputMessages
messages IAdditionalMessageData>.List
return IQueueOutputMessages

SendAsync() public method

Sends a new message to an existing queue
An error occurred while sending a message
public SendAsync ( IMessage messageToSend, IAdditionalMessageData data ) : Task
messageToSend IMessage The message to send.
data IAdditionalMessageData The data.
return Task

SendAsync() public method

Sends new messages to an existing queue
An error occurred while sending a message
public SendAsync ( IAdditionalMessageData>.List messages ) : Task
messages IAdditionalMessageData>.List The messages.
return Task