![]() |
Habari STOMP Client for RabbitMQ 9.4
Object Pascal STOMP client library for RabbitMQ
|
Encapsulates a set of connection configuration parameters that has been defined by an administrator. More...
Public Member Functions | |
IConnection | CreateConnection () |
Creates a connection with the default user identity. | |
IConnection | CreateConnection (const string Username, const string Password) |
Creates a connection with the specified user identity. | |
IMQContext | CreateContext () |
Creates a messaging context with default settings. | |
IMQContext | CreateContext (const TAcknowledgementMode AcknowledgeMode) |
Creates a messaging context with the specified acknowledgment mode. | |
IMQContext | CreateContext (const string Username, const string Password) |
Creates a messaging context with the specified user credentials. | |
IMQContext | CreateContext (const string Username, const string Password, const TAcknowledgementMode AcknowledgeMode) |
Creates a messaging context with the specified user credentials and acknowledgment mode. |
Encapsulates a set of connection configuration parameters that has been defined by an administrator.
A client uses it to create a connection with a provider.
IConnection IConnectionFactory::CreateConnection | ( | ) |
Creates a connection with the default user identity.
The connection is created in a stopped mode, meaning no messages will be delivered until the Connection.Start method is explicitly called.
Implemented in TBTAbstractConnectionFactory.
IConnection IConnectionFactory::CreateConnection | ( | const string | Username, |
const string | Password ) |
Creates a connection with the specified user identity.
The connection is created in a stopped mode, meaning no messages will be delivered until the Connection.Start method is explicitly called.
Username | The username for the connection. |
Password | The password for the connection. |
Implemented in TBTAbstractConnectionFactory.
IMQContext IConnectionFactory::CreateContext | ( | ) |
Creates a messaging context with default settings.
Implemented in TBTAbstractConnectionFactory.
IMQContext IConnectionFactory::CreateContext | ( | const string | Username, |
const string | Password ) |
Creates a messaging context with the specified user credentials.
Username | The username for the context. |
Password | The password for the context. |
Implemented in TBTAbstractConnectionFactory.
IMQContext IConnectionFactory::CreateContext | ( | const string | Username, |
const string | Password, | ||
const TAcknowledgementMode | AcknowledgeMode ) |
Creates a messaging context with the specified user credentials and acknowledgment mode.
Username | The username for the context. |
Password | The password for the context. |
AcknowledgeMode | The acknowledgment mode for the context. |
Implemented in TBTAbstractConnectionFactory.
IMQContext IConnectionFactory::CreateContext | ( | const TAcknowledgementMode | AcknowledgeMode | ) |
Creates a messaging context with the specified acknowledgment mode.
AcknowledgeMode | The acknowledgment mode for the context. |
Implemented in TBTAbstractConnectionFactory.