Class ConsumerEndpointConfiguration
The consumer configuration.
Inheritance
ConsumerEndpointConfiguration
Assembly: Silverback.Integration.dll
Syntax
public abstract record ConsumerEndpointConfiguration : EndpointConfiguration, IEquatable<EndpointConfiguration>, IEquatable<ConsumerEndpointConfiguration>
Constructors
ConsumerEndpointConfiguration()
The consumer configuration.
Declaration
protected ConsumerEndpointConfiguration()
ConsumerEndpointConfiguration(ConsumerEndpointConfiguration)
The consumer configuration.
Declaration
protected ConsumerEndpointConfiguration(ConsumerEndpointConfiguration original)
Parameters
Properties
Batch
Gets the batch settings. Can be used to enable and setup batch processing.
The default is null, which means that batch processing is disabled.
Declaration
public BatchSettings? Batch { get; init; }
Property Value
Deserializer
Declaration
public IMessageDeserializer Deserializer { get; init; }
Property Value
Encryption
Gets the encryption settings to be used to decrypt the encrypted messages. The default is null.
Declaration
public IDecryptionSettings? Encryption { get; init; }
Property Value
EqualityContract
The consumer configuration.
Declaration
protected override Type EqualityContract { get; }
Property Value
Overrides
ErrorPolicy
Gets the error policy to be applied when an exception occurs during the processing of the consumed messages.
The default is the StopConsumerErrorPolicy.
Declaration
public IErrorPolicy ErrorPolicy { get; init; }
Property Value
Sequence
Gets the sequence settings. A sequence is a set of related messages, like the chunks belonging to the same message or
the messages in a dataset.
Declaration
public SequenceSettings Sequence { get; init; }
Property Value
ThrowIfUnhandled
Gets a value indicating whether an exception must be thrown if no subscriber is handling the
received message. The default is true.
Declaration
public bool ThrowIfUnhandled { get; init; }
Property Value
Methods
Equals(ConsumerEndpointConfiguration?)
The consumer configuration.
Declaration
public virtual bool Equals(ConsumerEndpointConfiguration? other)
Parameters
Returns
Equals(EndpointConfiguration?)
The consumer configuration.
Declaration
public override sealed bool Equals(EndpointConfiguration? other)
Parameters
Returns
Overrides
Equals(object?)
The consumer configuration.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
The consumer configuration.
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
The consumer configuration.
Declaration
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
Overrides
ToString()
The consumer configuration.
Declaration
public override string ToString()
Returns
Overrides
ValidateCore()
Declaration
protected override void ValidateCore()
Overrides
Operators
operator ==(ConsumerEndpointConfiguration?, ConsumerEndpointConfiguration?)
The consumer configuration.
Declaration
public static bool operator ==(ConsumerEndpointConfiguration? left, ConsumerEndpointConfiguration? right)
Parameters
Returns
operator !=(ConsumerEndpointConfiguration?, ConsumerEndpointConfiguration?)
The consumer configuration.
Declaration
public static bool operator !=(ConsumerEndpointConfiguration? left, ConsumerEndpointConfiguration? right)
Parameters
Returns
Implements