|
Habari Client for ActiveMQ 3.0
Delphi and Free Pascal client library for the Apache ActiveMQ open source message broker
|
A ConnectionFactory is used for creating Connections. More...
Public Member Functions | |
| TBTJMSConnection | CreateAMQConnection () |
| Creates a connection with the default user identity. | |
| TBTJMSConnection | CreateAMQConnection (const string UserName, const string Password) |
| Creates a connection with the specified user identity. | |
| 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. | |
| IClientLibraryInfo | ClientLibraryInfo () |
| Returns the client library information. | |
Public Attributes | |
| string | ClientID |
| The JMS clientID to use for the created connection. | |
| Integer | ConnectTimeOut |
| Connect time out. | |
| string | UserName |
| The JMS userName used by connections created by this factory. | |
| string | Password |
| The JMS password used for connections created from this factory. | |
| string | BrokerURL |
| The connection URL used to connect to the ActiveMQ broker. | |
| Integer | SendTimeOut |
| Send time out. | |
A ConnectionFactory is used for creating Connections.
A ConnectionFactory object encapsulates a set of connection configuration parameters that has been defined by an administrator.
A client uses it to create a connection with a JMS provider.
| IClientLibraryInfo TBTJMSConnectionFactory::ClientLibraryInfo | ( | ) |
Returns the client library information.
| TBTJMSConnection TBTJMSConnectionFactory::CreateAMQConnection | ( | const string | UserName, |
| const string | Password | ||
| ) |
Creates a connection with the specified user identity.
The connection is reated in stopped mode. No messages will be delivered until the Connection.Start method is explicitly called.
| TBTJMSConnection TBTJMSConnectionFactory::CreateAMQConnection | ( | ) |
Creates a connection with the default user identity.
The connection is created in stopped mode. No messages will be delivered until the Connection.Start method is explicitly called.
| IConnection TBTJMSConnectionFactory::CreateConnection | ( | ) |
Creates a connection with the default user identity.
The connection is created in stopped mode. No messages will be delivered until the Connection.Start method is explicitly called.
| IConnection TBTJMSConnectionFactory::CreateConnection | ( | const string | UserName, |
| const string | Password | ||
| ) |
Creates a connection with the specified user identity.
The connection is reated in stopped mode. No messages will be delivered until the Connection.Start method is explicitly called.
The connection URL used to connect to the ActiveMQ broker.
The JMS clientID to use for the created connection.
Note that this can only be used by one connection at once so generally its a better idea to set the clientID on a Connection.
Connect time out.
The JMS password used for connections created from this factory.
Send time out.
The JMS userName used by connections created by this factory.