Class OutboundQueueProducer
Inheritance
System.Object
OutboundQueueProducer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Silverback.Integration.dll
Syntax
public class OutboundQueueProducer : Producer<TransactionalOutboxBroker, IProducerEndpoint>, IProducer
Constructors
|
Improve this doc
View source
OutboundQueueProducer(IOutboxWriter, TransactionalOutboxBroker, IProducerEndpoint, IBrokerBehaviorsProvider<IProducerBehavior>, IServiceProvider, IOutboundLogger<Producer>)
Declaration
public OutboundQueueProducer(IOutboxWriter queueWriter, TransactionalOutboxBroker broker, IProducerEndpoint endpoint, IBrokerBehaviorsProvider<IProducerBehavior> behaviorsProvider, IServiceProvider serviceProvider, IOutboundLogger<Producer> logger)
Parameters
Methods
|
Improve this doc
View source
Declaration
protected override IBrokerMessageIdentifier ProduceCore(object message, byte[] messageBytes, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Byte[] |
messageBytes |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
Returns
Overrides
|
Improve this doc
View source
Declaration
protected override void ProduceCore(object message, byte[] messageBytes, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName, Action<IBrokerMessageIdentifier> onSuccess, Action<Exception> onError)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Byte[] |
messageBytes |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
System.Action<IBrokerMessageIdentifier> |
onSuccess |
|
System.Action<System.Exception> |
onError |
|
Overrides
|
Improve this doc
View source
Declaration
protected override IBrokerMessageIdentifier ProduceCore(object message, Stream messageStream, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.IO.Stream |
messageStream |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
Returns
Overrides
|
Improve this doc
View source
Declaration
protected override void ProduceCore(object message, Stream messageStream, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName, Action<IBrokerMessageIdentifier> onSuccess, Action<Exception> onError)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.IO.Stream |
messageStream |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
System.Action<IBrokerMessageIdentifier> |
onSuccess |
|
System.Action<System.Exception> |
onError |
|
Overrides
|
Improve this doc
View source
Declaration
protected override async Task<IBrokerMessageIdentifier> ProduceCoreAsync(object message, byte[] messageBytes, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Byte[] |
messageBytes |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
Returns
Overrides
|
Improve this doc
View source
Declaration
protected override async Task ProduceCoreAsync(object message, byte[] messageBytes, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName, Action<IBrokerMessageIdentifier> onSuccess, Action<Exception> onError)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Byte[] |
messageBytes |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
System.Action<IBrokerMessageIdentifier> |
onSuccess |
|
System.Action<System.Exception> |
onError |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
|
Improve this doc
View source
Declaration
protected override async Task<IBrokerMessageIdentifier> ProduceCoreAsync(object message, Stream messageStream, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.IO.Stream |
messageStream |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
Returns
Overrides
|
Improve this doc
View source
Declaration
protected override async Task ProduceCoreAsync(object message, Stream messageStream, IReadOnlyCollection<MessageHeader> headers, string actualEndpointName, Action<IBrokerMessageIdentifier> onSuccess, Action<Exception> onError)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.IO.Stream |
messageStream |
|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
headers |
|
System.String |
actualEndpointName |
|
System.Action<IBrokerMessageIdentifier> |
onSuccess |
|
System.Action<System.Exception> |
onError |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Implements