Show / Hide Table of Contents

    Class MessageTransformation

    Base Utility class for conversion between IMessage type objects for different NMS providers.

    Inheritance
    System.Object
    MessageTransformation
    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()
    Namespace: Apache.NMS.Util
    Assembly: Apache.NMS.dll
    Syntax
    public abstract class MessageTransformation

    Constructors

    | Improve this Doc View Source

    MessageTransformation()

    Declaration
    protected MessageTransformation()

    Methods

    | Improve this Doc View Source

    CopyNMSMessageProperties(IMessage, IMessage)

    Copies the standard NMS and user defined properties from the givem message to the specified message, this method makes no attempt to convert the values in the Message to native provider implementations.

    Declaration
    public static void CopyNMSMessageProperties(IMessage fromMessage, IMessage toMessage)
    Parameters
    Type Name Description
    IMessage fromMessage
    IMessage toMessage
    | Improve this Doc View Source

    CopyProperties(IMessage, IMessage)

    Copies the standard NMS and user defined properties from the givem message to the specified message, the class version transforms the Destination instead of just doing a straight copy.

    Declaration
    public virtual void CopyProperties(IMessage fromMessage, IMessage toMessage)
    Parameters
    Type Name Description
    IMessage fromMessage
    IMessage toMessage
    | Improve this Doc View Source

    DoCreateBytesMessage()

    Declaration
    protected abstract IBytesMessage DoCreateBytesMessage()
    Returns
    Type Description
    IBytesMessage
    | Improve this Doc View Source

    DoCreateMapMessage()

    Declaration
    protected abstract IMapMessage DoCreateMapMessage()
    Returns
    Type Description
    IMapMessage
    | Improve this Doc View Source

    DoCreateMessage()

    Declaration
    protected abstract IMessage DoCreateMessage()
    Returns
    Type Description
    IMessage
    | Improve this Doc View Source

    DoCreateObjectMessage()

    Declaration
    protected abstract IObjectMessage DoCreateObjectMessage()
    Returns
    Type Description
    IObjectMessage
    | Improve this Doc View Source

    DoCreateStreamMessage()

    Declaration
    protected abstract IStreamMessage DoCreateStreamMessage()
    Returns
    Type Description
    IStreamMessage
    | Improve this Doc View Source

    DoCreateTextMessage()

    Declaration
    protected abstract ITextMessage DoCreateTextMessage()
    Returns
    Type Description
    ITextMessage
    | Improve this Doc View Source

    DoPostProcessMessage(IMessage)

    Declaration
    protected abstract void DoPostProcessMessage(IMessage message)
    Parameters
    Type Name Description
    IMessage message
    | Improve this Doc View Source

    DoTransformDestination(IDestination)

    Declaration
    protected abstract IDestination DoTransformDestination(IDestination destination)
    Parameters
    Type Name Description
    IDestination destination
    Returns
    Type Description
    IDestination
    | Improve this Doc View Source

    TransformMessage<T>(IMessage)

    Declaration
    public T TransformMessage<T>(IMessage message)
    Parameters
    Type Name Description
    IMessage message
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2023 Apache Software Foundation project
    Generated by DocFX