Show / Hide Table of Contents

    Interface INMSProducer

    An object capable of sending messages to some destination

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Apache.NMS
    Assembly: Apache.NMS.dll
    Syntax
    public interface INMSProducer : IDisposable

    Properties

    | Improve this Doc View Source

    DeliveryDelay

    Declaration
    TimeSpan DeliveryDelay { get; set; }
    Property Value
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    DeliveryMode

    Declaration
    MsgDeliveryMode DeliveryMode { get; set; }
    Property Value
    Type Description
    MsgDeliveryMode
    | Improve this Doc View Source

    DisableMessageID

    Declaration
    bool DisableMessageID { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    DisableMessageTimestamp

    Declaration
    bool DisableMessageTimestamp { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    NMSCorrelationID

    The correlation ID used to correlate messages from conversations or long running business processes.

    Declaration
    string NMSCorrelationID { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    NMSReplyTo

    The destination that the consumer of this message should send replies to

    Declaration
    IDestination NMSReplyTo { get; set; }
    Property Value
    Type Description
    IDestination
    | Improve this Doc View Source

    NMSType

    Specifies that messages sent using this NMSProducer will have their NMSType header value set to the specified message type.

    Declaration
    string NMSType { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Priority

    Declaration
    MsgPriority Priority { get; set; }
    Property Value
    Type Description
    MsgPriority
    | Improve this Doc View Source

    ProducerTransformer

    A delegate that is called each time a Message is sent from this Producer which allows the application to perform any needed transformations on the Message before it is sent.

    Declaration
    ProducerTransformerDelegate ProducerTransformer { get; set; }
    Property Value
    Type Description
    ProducerTransformerDelegate
    | Improve this Doc View Source

    Properties

    Provides access to the message properties (headers).

    Declaration
    IPrimitiveMap Properties { get; }
    Property Value
    Type Description
    IPrimitiveMap
    | Improve this Doc View Source

    RequestTimeout

    Declaration
    TimeSpan RequestTimeout { get; set; }
    Property Value
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    TimeToLive

    Declaration
    TimeSpan TimeToLive { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    Methods

    | Improve this Doc View Source

    ClearProperties()

    Clears a message's properties.

    The message's header fields and body are not cleared.

    Declaration
    void ClearProperties()
    | Improve this Doc View Source

    Close()

    Close the producer.

    Declaration
    void Close()
    | Improve this Doc View Source

    CreateBytesMessage()

    Creates a new binary message

    Declaration
    IBytesMessage CreateBytesMessage()
    Returns
    Type Description
    IBytesMessage
    | Improve this Doc View Source

    CreateBytesMessage(Byte[])

    Creates a new binary message with the given body

    Declaration
    IBytesMessage CreateBytesMessage(byte[] body)
    Parameters
    Type Name Description
    System.Byte[] body
    Returns
    Type Description
    IBytesMessage
    | Improve this Doc View Source

    CreateMapMessage()

    Creates a new Map message which contains primitive key and value pairs

    Declaration
    IMapMessage CreateMapMessage()
    Returns
    Type Description
    IMapMessage
    | Improve this Doc View Source

    CreateMessage()

    Creates a new message with an empty body

    Declaration
    IMessage CreateMessage()
    Returns
    Type Description
    IMessage
    | Improve this Doc View Source

    CreateObjectMessage(Object)

    Creates a new Object message containing the given .NET object as the body

    Declaration
    IObjectMessage CreateObjectMessage(object body)
    Parameters
    Type Name Description
    System.Object body
    Returns
    Type Description
    IObjectMessage
    | Improve this Doc View Source

    CreateStreamMessage()

    Creates a new stream message

    Declaration
    IStreamMessage CreateStreamMessage()
    Returns
    Type Description
    IStreamMessage
    | Improve this Doc View Source

    CreateTextMessage()

    Creates a new text message with an empty body

    Declaration
    ITextMessage CreateTextMessage()
    Returns
    Type Description
    ITextMessage
    | Improve this Doc View Source

    CreateTextMessage(String)

    Creates a new text message with the given body

    Declaration
    ITextMessage CreateTextMessage(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type Description
    ITextMessage
    | Improve this Doc View Source

    GetAsync()

    Declaration
    CompletionListener GetAsync()
    Returns
    Type Description
    CompletionListener
    | Improve this Doc View Source

    Send(IDestination, IMessage)

    Declaration
    INMSProducer Send(IDestination destination, IMessage message)
    Parameters
    Type Name Description
    IDestination destination
    IMessage message
    Returns
    Type Description
    INMSProducer
    | Improve this Doc View Source

    Send(IDestination, IPrimitiveMap)

    Declaration
    INMSProducer Send(IDestination destination, IPrimitiveMap body)
    Parameters
    Type Name Description
    IDestination destination
    IPrimitiveMap body
    Returns
    Type Description
    INMSProducer
    | Improve this Doc View Source

    Send(IDestination, Byte[])

    Declaration
    INMSProducer Send(IDestination destination, byte[] body)
    Parameters
    Type Name Description
    IDestination destination
    System.Byte[] body
    Returns
    Type Description
    INMSProducer
    | Improve this Doc View Source

    Send(IDestination, Object)

    Declaration
    INMSProducer Send(IDestination destination, object body)
    Parameters
    Type Name Description
    IDestination destination
    System.Object body
    Returns
    Type Description
    INMSProducer
    | Improve this Doc View Source

    Send(IDestination, String)

    Declaration
    INMSProducer Send(IDestination destination, string body)
    Parameters
    Type Name Description
    IDestination destination
    System.String body
    Returns
    Type Description
    INMSProducer
    | Improve this Doc View Source

    SendAsync(IDestination, IMessage)

    Declaration
    Task<INMSProducer> SendAsync(IDestination destination, IMessage message)
    Parameters
    Type Name Description
    IDestination destination
    IMessage message
    Returns
    Type Description
    System.Threading.Tasks.Task<INMSProducer>
    | Improve this Doc View Source

    SendAsync(IDestination, IPrimitiveMap)

    Declaration
    Task<INMSProducer> SendAsync(IDestination destination, IPrimitiveMap body)
    Parameters
    Type Name Description
    IDestination destination
    IPrimitiveMap body
    Returns
    Type Description
    System.Threading.Tasks.Task<INMSProducer>
    | Improve this Doc View Source

    SendAsync(IDestination, Byte[])

    Declaration
    Task<INMSProducer> SendAsync(IDestination destination, byte[] body)
    Parameters
    Type Name Description
    IDestination destination
    System.Byte[] body
    Returns
    Type Description
    System.Threading.Tasks.Task<INMSProducer>
    | Improve this Doc View Source

    SendAsync(IDestination, Object)

    Declaration
    Task<INMSProducer> SendAsync(IDestination destination, object body)
    Parameters
    Type Name Description
    IDestination destination
    System.Object body
    Returns
    Type Description
    System.Threading.Tasks.Task<INMSProducer>
    | Improve this Doc View Source

    SendAsync(IDestination, String)

    Declaration
    Task<INMSProducer> SendAsync(IDestination destination, string body)
    Parameters
    Type Name Description
    IDestination destination
    System.String body
    Returns
    Type Description
    System.Threading.Tasks.Task<INMSProducer>
    | Improve this Doc View Source

    SetAsync(CompletionListener)

    Declaration
    INMSProducer SetAsync(CompletionListener completionListener)
    Parameters
    Type Name Description
    CompletionListener completionListener
    Returns
    Type Description
    INMSProducer
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2022 Apache Software Foundation project
    Generated by DocFX