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()
Assembly: Apache.NMS.dll
public abstract class MessageTransformation
Constructors
|
Improve this Doc
View Source
Declaration
protected MessageTransformation()
Methods
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
Declaration
protected abstract IBytesMessage DoCreateBytesMessage()
Returns
|
Improve this Doc
View Source
Declaration
protected abstract IMapMessage DoCreateMapMessage()
Returns
|
Improve this Doc
View Source
Declaration
protected abstract IMessage DoCreateMessage()
Returns
|
Improve this Doc
View Source
Declaration
protected abstract IObjectMessage DoCreateObjectMessage()
Returns
|
Improve this Doc
View Source
Declaration
protected abstract IStreamMessage DoCreateStreamMessage()
Returns
|
Improve this Doc
View Source
DoCreateTextMessage()
Declaration
protected abstract ITextMessage DoCreateTextMessage()
Returns
|
Improve this Doc
View Source
DoPostProcessMessage(IMessage)
Declaration
protected abstract void DoPostProcessMessage(IMessage message)
Parameters
|
Improve this Doc
View Source
Declaration
protected abstract IDestination DoTransformDestination(IDestination destination)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public T TransformMessage<T>(IMessage message)
Parameters
Returns
Type Parameters