|
| | SetDestinationType (TDestinationType Value) |
| |
| string | GetMessageID () |
| |
| | SetDestination (const IDestination Value) |
| |
| IDestination | GetDestination () |
| |
| | SetReplyTo (const IDestination Value) |
| |
| IDestination | GetReplyTo () |
| |
| | SetPriority (const Integer Value) |
| |
| Integer | GetPriority () |
| |
| | SetJMSDeliveryMode (const TJMSDeliveryMode Value) |
| |
| TJMSDeliveryMode | GetJMSDeliveryMode () |
| |
| | SetJMSRedelivered (const Boolean Value) |
| |
| Boolean | GetJMSRedelivered () |
| |
| | SetExpiration (const TDateTime Value) |
| |
| TDateTime | GetExpiration () |
| |
| | SetCorrelationID (const string Value) |
| |
| string | GetCorrelationID () |
| |
| string | GetTypeName () |
| |
| | SetTypeName (const string Value) |
| |
| PMStrings | GetPropertyNames () |
| |
| Boolean | GetBooleanProperty (const string Key) |
| |
| | SetBooleanProperty (const string Key, const Boolean Value) |
| |
| Integer | GetIntProperty (const string Key) |
| |
| | SetIntProperty (const string Key, const Integer Value) |
| |
| string | GetStringProperty (const string Key) |
| |
| | SetStringProperty (const string Key, const string Value) |
| |
| | SetTimestamp (TDateTime Value) |
| |
| TDateTime | GetTimestamp () |
| |
| | Acknowledge () |
| |
| | Nack () |
| |
| string | GetText () |
| |
| RawByteString | GetContent () |
| |
| TObject | GetObject () |
| |
| Boolean | ItemExists (const string Name) |
| | Indicates whether an item exists in this MapMessage object.
|
| |
| | SetBoolean (const string Name, const Boolean Value) |
| |
| Boolean | GetBoolean (const string Name) |
| |
| | SetInt (const string Name, const Integer Value) |
| |
| Integer | GetInt (const string Name) |
| |
| | SetString (const string Name, const string Value) |
| |
| string | GetString (const string Name) |
| |
| | SetTimeToLive (const Cardinal Value) |
| |
| TJMSDeliveryMode | GetDeliveryMode () |
| |
| Cardinal | GetTimeToLive () |
| |
| | Close () |
| |
| | Send (const IMessage Message) |
| |
| | Send (const IDestination Destination, const IMessage Message) |
| |
| | Send (const IMessage Message, const TJMSDeliveryMode DeliveryMode, const Integer Priority, const Integer TimeToLive) |
| |
| | Send (const IDestination Destination, const IMessage Message, const TJMSDeliveryMode DeliveryMode, const Integer Priority, const Integer TimeToLive) |
| |
| IMessage | Receive () |
| |
| IMessage | Receive (const Integer Timeout) |
| |
| IMessage | ReceiveNoWait () |
| |
| ITopic | GetTopic () |
| |
| | Commit () |
| |
| IBytesMessage | CreateBytesMessage () |
| |
| IMessageConsumer | CreateConsumer (const IDestination Destination) |
| |
| IMessageConsumer | CreateConsumer (const IDestination Destination, const string MessageSelector) |
| |
| IMessageConsumer | CreateConsumer (const IDestination Destination, const string MessageSelector, const Boolean NoLocal) |
| |
| ITopicSubscriber | CreateDurableSubscriber (const ITopic Topic, const string Name) |
| |
| ITopicSubscriber | CreateDurableSubscriber (const ITopic Topic, const string Name, const string MessageSelector, const Boolean NoLocal) |
| |
| IMessage | CreateMessage () |
| |
| IMessageProducer | CreateProducer (const IDestination Destination) |
| |
| IQueue | CreateQueue (const string QueueName) |
| |
| ITemporaryQueue | CreateTemporaryQueue () |
| |
| ITemporaryTopic | CreateTemporaryTopic () |
| |
| IQueueBrowser | CreateBrowser (const string QueueName) |
| |
| IObjectMessage | CreateObjectMessage () |
| |
| IObjectMessage | CreateObjectMessage (const TObject AObject) |
| |
| ITextMessage | CreateTextMessage () |
| |
| IMapMessage | CreateMapMessage () |
| |
| ITextMessage | CreateTextMessage (const string Text) |
| |
| ITopic | CreateTopic (const string TopicName) |
| |
| TAcknowledgementMode | GetAcknowledgeMode () |
| |
| Boolean | GetTransacted () |
| |
| | Rollback () |
| |
| | Unsubscribe (const string Destination, const string Name) |
| |
| | SetClientID (const string Value) |
| |
| | Start () |
| |
| | Stop () |
| |
| ISession | CreateSession (const Boolean Transacted, const TAcknowledgementMode AcknowledgementMode) |
| |
| ISession | CreateSession (const TAcknowledgementMode AcknowledgementMode) |
| |
| string | GetMessageSelector () |
| |
| | OnException (const IMessage Message, const Exception Exception) |
| |
| | ClearProperties () |
| |
| Boolean | PropertyExists (const string Key) |
| |
| | SetProperty (const string Key, const Boolean Value) |
| |
| | SetProperty (const string Key, const Integer Value) |
| |
| | SetProperty (const string Key, const string Value) |
| |
| IMQProducer | Send (const IDestination Destination, const string Body) |
| |
| IMQProducer | Send (const IDestination Destination, const string Body, const ICompletionListener CompletionListener) |
| |
| IMQProducer | Send (const IDestination Destination, const IMessage AMessage, const ICompletionListener CompletionListener) |
| |
| ITopicSubscriber | CreateDurableSubscriber (const ITopic Topic, const string Name, const string MessageSelector) |
| |
| IMQProducer | CreateProducer () |
| |
| string | GetClientID () |
| |
| IConnection | CreateConnection (const string Username, const string Password) |
| | Creates a connection with the specified user identity.
|
| |
| IMQContext | CreateContext () |
| | Creates a context.
|
| |
| IMQContext | CreateContext (const TAcknowledgementMode AcknowledgeMode) |
| |
| IMQContext | CreateContext (const string Username, const string Password) |
| |
| IMQContext | CreateContext (const string Username, const string Password, const TAcknowledgementMode AcknowledgeMode) |
| |
Gets the Destination object for this message.
The JMSDestination header field contains the destination to which the message is being sent.
When a message is sent, this field is ignored. After completion of the send or publish method, the field holds the destination specified by the method.
When a message is received, its JMSDestination value must be equivalent to the value assigned when it was sent.
- See also
- GetDestination For reading
-
SetDestination For writing
The message's expiration value.
When a message is sent, the JMSExpiration header field is left unassigned. After completion of the send or publish method, it holds the expiration time of the message. This is the sum of the time-to-live value specified by the client and the GMT at the time of the send or publish.
If the time-to-live is specified as zero, JMSExpiration is set to zero to indicate that the message does not expire.
- See also
- GetExpiration For reading
-
SetExpiration For writing
The message priority level.
The API defines ten levels of priority value, with 0 as the lowest priority and 9 as the highest.
The API does not require that a provider strictly implements priority ordering of messages.
Providers set this field when a message is sent. To send a message with a priority, use the IMessageProducer's Priority property.
- See also
- GetPriority For reading
-
SetPriority For writing
The timestamp the broker added to the message.
The JMSTimestamp header field contains the time a message was handed off to a provider to be sent. It is not the time the message was actually transmitted, because the actual send may occur later due to transactions or other client-side queueing of messages.
When a message is sent, JMSTimestamp is ignored. When the send or publish method returns, it contains a time value somewhere in the interval between the call and the return.
- Note
- this header field is not supported by the STOMP specifications and STOMP-JMS bindings of supported brokers.
- See also
- GetTimestamp For reading
-
SetTimestamp For writing
Initial value:= (
amClientAcknowledge,
amTransactional,
amAutoAcknowledge,
amClientIndividual)
Acknowledgment Mode.
amTransactional A session created with acknowledgment mode amTransactional will automatically start a transaction.
amClientAcknowledge This acknowledgment mode activates the STOMP ack mode "client".
With this acknowledgment mode, the client acknowledges a consumed message by calling the message's acknowledge method.
amAutoAcknowledge This acknowledgment mode activates the STOMP ack mode "auto".
- Note
- When the ack mode is auto, then the client does not need to send the server ACK frames for the messages it receives. The server will assume the client has received the message as soon as it sends it to the client. This acknowledgment mode can cause messages being transmitted to the client to get dropped.
amClientIndividual This acknowledgment mode activates the STOMP ack mode "client-individual".
- Note
- When the ack mode is client-individual, the acknowledgment operates just like the client acknowledgment mode except that the ACK or NACK frames sent by the client are not cumulative. This means that an ACK or NACK frame for a subsequent message MUST NOT cause a previous message to get acknowledged.
- See also
- http://stomp.github.io/stomp-specification-1.2.html#SUBSCRIBE_ack_Header