Habari STOMP Client for RabbitMQ 9.4
Object Pascal STOMP client library for RabbitMQ
Loading...
Searching...
No Matches
BTMQInterfaces.pas File Reference

Classes

interface  IDestination
 Encapsulates a provider-specific address. More...
interface  IQueue
 Encapsulates a provider-specific queue name. More...
interface  ITemporaryQueue
 Represents an unique IQueue object created for the duration of an IConnection. More...
interface  ITopic
 Encapsulates a provider-specific topic name. More...
interface  ITemporaryTopic
 Represents an unique ITopic object created for the duration of an IConnection. More...
interface  IMessage
 Represents a message either to be sent to a message broker or received from a message broker. More...
interface  ITextMessage
 Represents a text based message. More...
interface  IBytesMessage
 Represents a binary based message. More...
interface  IObjectMessage
 An IObjectMessage object is used to send a message that contains a serializable object. More...
interface  IMapMessage
 Used to send a set of name-value pairs. More...
interface  IMessageProducer
 A client uses an IMessageProducer object to send messages to a destination. More...
interface  IMessageConsumer
 A client uses an IMessageConsumer object to receive messages from a destination. More...
interface  IQueueBrowser
 A client uses an IQueueBrowser object to look at messages on a queue without removing them. More...
interface  ITopicSubscriber
 A client uses an ITopicSubscriber object to receive messages that have been published to a topic. More...
interface  ISession
 Represents a single unit of work on an IConnection. More...
interface  IConnection
 Represents a connection with a message broker. More...
interface  IMQConsumer
 Interface for consuming messages. More...
interface  ICompletionListener
 Interface to get notified about messages which are sent asynchronously. More...
interface  IMQProducer
 Interface for producing messages. More...
interface  IMQContext
 This interface represents a messaging context. More...
interface  IConnectionFactory
 Encapsulates a set of connection configuration parameters that has been defined by an administrator. More...

Enumerations

enum  TDestinationType { dtQueue , dtTopic , dtTemporaryQueue , dtTemporaryTopic }
 TDestinationType. More...
enum  TJMSDeliveryMode { dmNonPersistent , dmPersistent }
 The message delivery mode. More...
enum  TAcknowledgementMode { amClientAcknowledge , amTransactional , amAutoAcknowledge , amClientIndividual }
 The message acknowledgment Mode. More...

Variables

const DEFAULT_DELIVERY_MODE = dmNonPersistent
const DEFAULT_TIME_TO_LIVE = 0

Enumeration Type Documentation

◆ TAcknowledgementMode

The message 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
https://stomp.github.io/stomp-specification-1.2.html#SUBSCRIBE_ack_Header
Enumerator
amClientAcknowledge 

STOMP ack mode client.

amTransactional 

Automatically start a transaction.

amAutoAcknowledge 

STOMP ack mode auto.

amClientIndividual 

STOMP ack mode client-individual.

◆ TDestinationType

TDestinationType.

Enumerator
dtQueue 

Queue.

dtTopic 

Topic.

dtTemporaryQueue 

Temporary queue.

dtTemporaryTopic 

Temporary topic.

◆ TJMSDeliveryMode

The message delivery mode.

See also
https://jakarta.ee/specifications/messaging/3.0/apidocs/jakarta/jms/deliverymode
Enumerator
dmNonPersistent 

The provider must deliver the message with an at-most-once guarantee.

dmPersistent 

Only a hard media failure should cause a PERSISTENT message to be lost.

Variable Documentation

◆ DEFAULT_DELIVERY_MODE

const DEFAULT_DELIVERY_MODE = dmNonPersistent

◆ DEFAULT_TIME_TO_LIVE

const DEFAULT_TIME_TO_LIVE = 0