Class ActiveMQMessage
- Namespace
- Apache.NMS.ActiveMQ.Commands
- Assembly
- Apache.NMS.ActiveMQ.dll
public class ActiveMQMessage : Message, Command, DataStructure, MessageReference, ICloneable, IMessage, MarshallAware
- Inheritance
-
ActiveMQMessage
- Implements
-
IMessage
- Derived
-
- Inherited Members
-
Constructors
ActiveMQMessage()
Fields
ID_ACTIVEMQMESSAGE
public const byte ID_ACTIVEMQMESSAGE = 23
Field Value
- byte
Properties
Connection
public Connection Connection { get; set; }
Property Value
- Connection
FromDestination
public IDestination FromDestination { get; set; }
Property Value
- IDestination
NMSCorrelationID
public string NMSCorrelationID { get; set; }
Property Value
- string
NMSDeliveryMode
public MsgDeliveryMode NMSDeliveryMode { get; set; }
Property Value
- MsgDeliveryMode
NMSDestination
public IDestination NMSDestination { get; set; }
Property Value
- IDestination
NMSMessageId
public string NMSMessageId { get; set; }
Property Value
- string
NMSPriority
public MsgPriority NMSPriority { get; set; }
Property Value
- MsgPriority
NMSRedelivered
public bool NMSRedelivered { get; set; }
Property Value
- bool
NMSReplyTo
public IDestination NMSReplyTo { get; set; }
Property Value
- IDestination
NMSTimeToLive
public TimeSpan NMSTimeToLive { get; set; }
Property Value
- TimeSpan
NMSTimestamp
public DateTime NMSTimestamp { get; set; }
Property Value
- DateTime
NMSType
public string NMSType { get; set; }
Property Value
- string
NMSXDeliveryCount
public int NMSXDeliveryCount { get; }
Property Value
- int
NMSXGroupID
public string NMSXGroupID { get; set; }
Property Value
- string
NMSXGroupSeq
public int NMSXGroupSeq { get; set; }
Property Value
- int
NMSXProducerTXID
public string NMSXProducerTXID { get; }
Property Value
- string
Properties
public IPrimitiveMap Properties { get; }
Property Value
- IPrimitiveMap
ReadOnlyProperties
public override bool ReadOnlyProperties { get; set; }
Property Value
- bool
Methods
Acknowledge()
public void Acknowledge()
public override void BeforeMarshall(OpenWireFormat wireFormat)
Parameters
wireFormat
OpenWireFormat
ClearBody()
public virtual void ClearBody()
ClearProperties()
public virtual void ClearProperties()
Clone()
public override object Clone()
Returns
- object
Equals(ActiveMQMessage)
public virtual bool Equals(ActiveMQMessage that)
Parameters
that
ActiveMQMessage
Returns
- bool
Equals(object)
public override bool Equals(object that)
Parameters
that
object
Returns
- bool
FailIfReadOnlyBody()
protected void FailIfReadOnlyBody()
FailIfWriteOnlyBody()
protected void FailIfWriteOnlyBody()
GetDataStructureType()
public override byte GetDataStructureType()
Returns
- byte
GetHashCode()
public override int GetHashCode()
Returns
- int
GetObjectProperty(string)
public object GetObjectProperty(string name)
Parameters
name
string
Returns
- object
IsMarshallAware()
public override bool IsMarshallAware()
Returns
- bool
SetObjectProperty(string, object)
public void SetObjectProperty(string name, object value)
Parameters
name
string
value
object
public static ActiveMQMessage Transform(IMessage message)
Parameters
message
IMessage
Returns
- ActiveMQMessage
Visit(ICommandVisitor)
public override Response Visit(ICommandVisitor visitor)
Parameters
visitor
ICommandVisitor
Returns
- Response
Events
Acknowledger
public event AcknowledgeHandler Acknowledger
Event Type
- AcknowledgeHandler