Show / Hide Table of Contents

    Class ChunkSettings

    The chunking settings. To enable chunking just set the Size property to the desired (maximum) chunk size.

    Inheritance
    System.Object
    ChunkSettings
    Implements
    System.IEquatable<ChunkSettings>
    IValidatableEndpointSettings
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Silverback.Messaging.Sequences.Chunking
    Assembly: Silverback.Integration.dll
    Syntax
    public sealed class ChunkSettings : IEquatable<ChunkSettings>, IValidatableEndpointSettings

    Properties

    | Improve this doc View source

    AlwaysAddHeaders

    Gets or sets a value indicating whether the x-chunk-index and related headers have to be added to the produced message in any case, even if its size doesn't exceed the single chunk size. The default is true. This setting is ignored if chunking is disabled (Size is not set).

    Declaration
    public bool AlwaysAddHeaders { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this doc View source

    Size

    Gets or sets the size in bytes of each chunk. The default is System.Int32.MaxValue, meaning that chunking is disabled.

    Declaration
    public int Size { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this doc View source

    Equals(ChunkSettings)

    Declaration
    public bool Equals(ChunkSettings other)
    Parameters
    Type Name Description
    ChunkSettings other
    Returns
    Type Description
    System.Boolean
    | Improve this doc View source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this doc View source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this doc View source

    Validate()

    Throws an EndpointConfigurationException if the current configuration is not valid.

    Declaration
    public void Validate()

    Implements

    System.IEquatable<T>
    IValidatableEndpointSettings
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini