![]() |
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 | |
| 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. | |
This interface represents a messaging context.
| IMQContext::Close | ( | ) |
Closes the context.
Implemented in TBTMQContext.
| IMQContext::Commit | ( | ) |
Commits the context.
Implemented in TBTMQContext.
| IQueueBrowser IMQContext::CreateBrowser | ( | const string | QueueName | ) |
Creates an IQueueBrowser object to peek at the messages on the specified queue.
Implemented in TBTMQContext.
| IBytesMessage IMQContext::CreateBytesMessage | ( | ) |
Creates a new binary message.
Implemented in TBTMQContext.
| IMQConsumer IMQContext::CreateConsumer | ( | const IDestination | Destination | ) |
Creates an IMQConsumer for the specified destination.
| Destination | the IDestination to access |
Implemented in TBTMQContext.
| IMQConsumer IMQContext::CreateConsumer | ( | const IDestination | Destination, |
| const string | MessageSelector ) |
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. |
Implemented in TBTMQContext.
| ITopicSubscriber IMQContext::CreateDurableSubscriber | ( | const ITopic | Topic, |
| const string | Name ) |
Creates a durable subscriber to the specified topic.
| Topic | the ITopic to access |
| Name | the name used to identify this subscription |
Implemented in TBTMQContext.
| ITopicSubscriber IMQContext::CreateDurableSubscriber | ( | const ITopic | Topic, |
| const string | Name, | ||
| const string | MessageSelector ) |
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. |
Implemented in TBTMQContext.
| IMapMessage IMQContext::CreateMapMessage | ( | ) |
Creates a new map message.
Implemented in TBTMQContext.
| IObjectMessage IMQContext::CreateObjectMessage | ( | ) |
Creates a new object message.
Implemented in TBTMQContext.
| IObjectMessage IMQContext::CreateObjectMessage | ( | const TObject | AObject | ) |
Creates a new object message with the given object.
Implemented in TBTMQContext.
| IMQProducer IMQContext::CreateProducer | ( | ) |
Creates a Producer object which can be used to configure and send messages.
Implemented in TBTMQContext.
| IQueue IMQContext::CreateQueue | ( | const string | QueueName | ) |
Creates a Queue object which encapsulates a specified provider-specific queue name.
Implemented in TBTMQContext.
| ITemporaryQueue IMQContext::CreateTemporaryQueue | ( | ) |
Creates an ITemporaryQueue object.
Its lifetime will be that of the IConnection unless it is deleted earlier.
Implemented in TBTMQContext.
| ITemporaryTopic IMQContext::CreateTemporaryTopic | ( | ) |
Creates an ITemporaryTopic object.
Its lifetime will be that of the IConnection unless it is deleted earlier.
Implemented in TBTMQContext.
| ITextMessage IMQContext::CreateTextMessage | ( | ) |
Creates a new text message with an empty body.
Implemented in TBTMQContext.
| ITextMessage IMQContext::CreateTextMessage | ( | const string | Text | ) |
Creates a new text message with the given body.
Implemented in TBTMQContext.
| ITopic IMQContext::CreateTopic | ( | const string | TopicName | ) |
Creates an ITopic object which encapsulates a specified provider-specific topic name.
Implemented in TBTMQContext.
| TAcknowledgementMode IMQContext::GetAcknowledgeMode | ( | ) |
Returns the acknowledgement mode of the context.
Implemented in TBTMQContext.
| string IMQContext::GetClientID | ( | ) |
Returns the client id.
Implemented in TBTMQContext.
| Boolean IMQContext::GetTransacted | ( | ) |
Indicates whether the session is in transacted mode.
Implemented in TBTMQContext.
| IMQContext::Rollback | ( | ) |
Rolls back the context.
Implemented in TBTMQContext.
| IMQContext::Start | ( | ) |
Starts the context.
Implemented in TBTMQContext.
| IMQContext::Stop | ( | ) |
Stops the context.
Implemented in TBTMQContext.
| IMQContext::Unsubscribe | ( | const string | Destination, |
| const string | Name ) |
Unsubscribes a durable subscription that has been created by a client.
Implemented in TBTMQContext.