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

    MessageTransformation()

    Declaration
    protected MessageTransformation()

    Methods

    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

    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

    DoCreateBytesMessage()

    Declaration
    protected abstract IBytesMessage DoCreateBytesMessage()
    Returns
    Type Description
    IBytesMessage

    DoCreateMapMessage()

    Declaration
    protected abstract IMapMessage DoCreateMapMessage()
    Returns
    Type Description
    IMapMessage

    DoCreateMessage()

    Declaration
    protected abstract IMessage DoCreateMessage()
    Returns
    Type Description
    IMessage

    DoCreateObjectMessage()

    Declaration
    protected abstract IObjectMessage DoCreateObjectMessage()
    Returns
    Type Description
    IObjectMessage

    DoCreateStreamMessage()

    Declaration
    protected abstract IStreamMessage DoCreateStreamMessage()
    Returns
    Type Description
    IStreamMessage

    DoCreateTextMessage()

    Declaration
    protected abstract ITextMessage DoCreateTextMessage()
    Returns
    Type Description
    ITextMessage

    DoPostProcessMessage(IMessage)

    Declaration
    protected abstract void DoPostProcessMessage(IMessage message)
    Parameters
    Type Name Description
    IMessage message

    DoTransformDestination(IDestination)

    Declaration
    protected abstract IDestination DoTransformDestination(IDestination destination)
    Parameters
    Type Name Description
    IDestination destination
    Returns
    Type Description
    IDestination

    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
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX