
Public Member Functions | |
| Connect () | |
| Calling this method sets Active to True. | |
| Disconnect () | |
| Calling this method sets Active to False. | |
| Start () | |
| Starts (or restarts) a connection's delivery of incoming messages. | |
| Stop () | |
| Temporarily stops a connection's delivery of incoming messages. | |
| Send (const WideString TextMessage) | |
| Send a text message. | |
Public Attributes | |
Public Properties | |
| Boolean | Active |
| Starts and stops the communication. | |
| IConnection | Connection |
| The current connection. | |
| IDestination | Destination |
| The current destination. | |
| IMessageConsumer | MessageConsumer |
| The current MessageConsumer. | |
| IMessageProducer | MessageProducer |
| The current MessageProducer. | |
| TBTMessageTransformer | MessageTransformer |
| The object message transformer. | |
| ISession | Session |
| The current Session. | |
Published Properties | |
Published Properties may be modified at designtime and runtime. | |
| string | CommunicationAdapter |
| The client identifier for this connection. | |
| string | Host |
| Server address. | |
| TOptionsConsumer | OptionsConsumer |
| Consumer options. | |
| TOptionsDestination | OptionsDestination |
| Destination options. | |
| TOptionsProducer | OptionsProducer |
| Producer options. | |
| TOptionsSession | OptionsSession |
| Session options. | |
| TOptionsMessageTransformer | OptionsMessageTransformer |
| Message transformer options. | |
| string | Password |
| Password. | |
| string | UserName |
| User name. | |
| string | Version |
| The component version. | |
Published Events | |
Published Events may be assigned at designtime and runtime. | |
| TOnBytesMessageEvent | OnBytesMessage |
| Incoming JMS bytes message. | |
| TOnObjectMessageEvent | OnObjectMessage |
| Incoming JMS object message. | |
| TOnTextMessageEvent | OnTextMessage |
| Incoming JMS text message. | |
It provides methods to send and receive messages to Apache ActiveMQ Message Brokers (version 4 and higher) using the STOMP communication protocol.
Required properties are
| THabariExpress::Connect | ( | ) |
| THabariExpress::Disconnect | ( | ) |
| THabariExpress::Start | ( | ) |
Starts (or restarts) a connection's delivery of incoming messages.
A call to start on a connection that has already been started is ignored.
| THabariExpress::Stop | ( | ) |
Temporarily stops a connection's delivery of incoming messages.
Delivery can be restarted using the connection's start method.
When the connection is stopped, delivery to all the connection's message consumers is inhibited: synchronous receives block, and messages are not delivered to message listeners.
Stopping a connection has no effect on its ability to send messages. A call to stop on a connection that has already been stopped is ignored.
| Boolean THabariExpress::Active |
Starts and stops the communication.
SetActive For writing
The client identifier for this connection.
The purpose of the client identifier is to associate a connection and its objects with a state maintained on behalf of the client by a provider. The only such state identified by the JMS API is that required to support durable subscriptions. Class name of the communication adapter.
SetCommunicationAdapter For writing
The current connection.
Only available if the connection is active.
The current destination.
Only available if the connection is active.
| string THabariExpress::Host |
Server address.
SetHost For writing
The current MessageConsumer.
Only available if the connection is active.
The current MessageProducer.
Only available if the connection is active.
The object message transformer.
SetMessageTransformer For writing
Incoming JMS bytes message.
SetOnBytesMessage For writing
Incoming JMS object message.
SetOnObjectMessage For writing
Incoming JMS text message.
SetOnTextMessage For writing
Consumer options.
Destination options.
Message transformer options.
Producer options.
Session options.
| string THabariExpress::Password |
Password.
Authorization requires Apache ActiveMQ version 5.1 or newer.
SetPassword For writing
The current Session.
Only available if the connection is active.
| string THabariExpress::UserName |
User name.
Authorization requires Apache ActiveMQ version 5.1 or newer.
SetUserName For writing
| string THabariExpress::Version |
The component version.
SetVersion For writing