![]() |
Habari STOMP Client for Artemis 9.4
Object Pascal STOMP client library for ActiveMQ Artemis
|
This interface represents a messaging context. More...
Public Member Functions | |
| TBTMQContext (const IConnection Connection) | |
| Constructor. | |
| TBTMQContext (const IConnection Connection, const TAcknowledgementMode AcknowledgeMode) | |
| Constructor. | |
Protected Member Functions | |
| Close () | |
| Closes the context. | |
| Commit () | |
| Commits the context. | |
| IQueueBrowser | CreateBrowser (const string QueueName) |
| Creates an IQueueBrowser object to peek at the messages on the specified queue. | |
| IBytesMessage | CreateBytesMessage () |
| Creates a new binary message. | |
| IMQConsumer | CreateConsumer (const IDestination Destination) |
| Creates an IMQConsumer for the specified destination. | |
| IMQConsumer | CreateConsumer (const IDestination Destination, const string MessageSelector) |
| Creates an IMQConsumer for the specified destination, using a message selector. | |
| ITopicSubscriber | CreateDurableSubscriber (const ITopic Topic, const string Name) |
| Creates a durable subscriber to the specified topic. | |
| ITopicSubscriber | CreateDurableSubscriber (const ITopic Topic, const string Name, const string MessageSelector) |
| Creates a durable subscriber to the specified topic, using a message selector. | |
| IMapMessage | CreateMapMessage () |
| Creates a new map message. | |
| IObjectMessage | CreateObjectMessage () |
| Creates a new object message. | |
| IObjectMessage | CreateObjectMessage (const TObject AObject) |
| Creates a new object message with the given object. | |
| IMQProducer | CreateProducer () |
| Creates a Producer object which can be used to configure and send messages. | |
| IQueue | CreateQueue (const string QueueName) |
| Creates a Queue object which encapsulates a specified provider-specific queue name. | |
| ITemporaryQueue | CreateTemporaryQueue () |
| Creates an ITemporaryQueue object. | |
| ITemporaryTopic | CreateTemporaryTopic () |
| Creates an ITemporaryTopic object. | |
| ITextMessage | CreateTextMessage () |
| Creates a new text message with an empty body. | |
| ITextMessage | CreateTextMessage (const string Text) |
| Creates a new text message with the given body. | |
| ITopic | CreateTopic (const string TopicName) |
| Creates an ITopic object which encapsulates a specified provider-specific topic name. | |
| TAcknowledgementMode | GetAcknowledgeMode () |
| Returns the acknowledgement mode of the context. | |
| string | GetClientID () |
| Returns the client id. | |
| Boolean | GetTransacted () |
| Indicates whether the session is in transacted mode. | |
| Rollback () | |
| Rolls back the context. | |
| Start () | |
| Starts the context. | |
| Stop () | |
| Stops the context. | |
| Unsubscribe (const string Destination, const string Name) | |
| Unsubscribes a durable subscription that has been created by a client. | |
| IMessageTransformer | GetTransformer () |
| SetTransformer (const IMessageTransformer Transformer) | |
| SetMapMessageTransformationId (const string ATransformationId) | |
| SetObjectMessageTransformationId (const string ATransformationId) | |
| SendHeartbeat () | |
| CheckHeartbeat () | |
| Boolean | ReceiveHeartbeat (Integer ATimeOut) |
| Boolean | TransportConnected () |
| string | StompSessionID () |
| string | StompServerName () |
| TStompProtocolVersion | StompProtocolVersion () |
This interface represents a messaging context.
| TBTMQContext::TBTMQContext | ( | const IConnection | Connection | ) |
Constructor.
| TBTMQContext::TBTMQContext | ( | const IConnection | Connection, |
| const TAcknowledgementMode | AcknowledgeMode ) |
Constructor.
|
protected |
|
protected |
Closes the context.
Implements IMQContext.
|
protected |
Commits the context.
Implements IMQContext.
|
protected |
Creates an IQueueBrowser object to peek at the messages on the specified queue.
Implements IMQContext.
|
protected |
Creates a new binary message.
Implements IMQContext.
|
protected |
Creates an IMQConsumer for the specified destination.
| Destination | the IDestination to access |
Implements IMQContext.
|
protected |
Creates an IMQConsumer for the specified destination, using a message selector.
| Destination | the IDestination to access |
| MessageSelector | only messages with properties matching the message selector expression are delivered. An empty string indicates that there is no message selector for the message consumer. |
Implements IMQContext.
|
protected |
Creates a durable subscriber to the specified topic.
| Topic | the ITopic to access |
| Name | the name used to identify this subscription |
Implements IMQContext.
|
protected |
Creates a durable subscriber to the specified topic, using a message selector.
| Topic | the ITopic to access |
| Name | the name used to identify this subscription |
| MessageSelector | only messages with properties matching the message selector expression are delivered. An empty string indicates that there is no message selector for the message consumer. |
Implements IMQContext.
|
protected |
Creates a new map message.
Implements IMQContext.
|
protected |
Creates a new object message.
Implements IMQContext.
|
protected |
Creates a new object message with the given object.
Implements IMQContext.
|
protected |
Creates a Producer object which can be used to configure and send messages.
Implements IMQContext.
|
protected |
Creates a Queue object which encapsulates a specified provider-specific queue name.
Implements IMQContext.
|
protected |
Creates an ITemporaryQueue object.
Its lifetime will be that of the IConnection unless it is deleted earlier.
Implements IMQContext.
|
protected |
Creates an ITemporaryTopic object.
Its lifetime will be that of the IConnection unless it is deleted earlier.
Implements IMQContext.
|
protected |
Creates a new text message with an empty body.
Implements IMQContext.
|
protected |
Creates a new text message with the given body.
Implements IMQContext.
|
protected |
Creates an ITopic object which encapsulates a specified provider-specific topic name.
Implements IMQContext.
|
protected |
Returns the acknowledgement mode of the context.
Implements IMQContext.
|
protected |
Returns the client id.
Implements IMQContext.
|
protected |
Indicates whether the session is in transacted mode.
Implements IMQContext.
|
protected |
|
protected |
|
protected |
Rolls back the context.
Implements IMQContext.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Starts the context.
Implements IMQContext.
|
protected |
|
protected |
|
protected |
|
protected |
Stops the context.
Implements IMQContext.
|
protected |
|
protected |
Unsubscribes a durable subscription that has been created by a client.
Implements IMQContext.