THabariExpress Class Reference
[HabariActiveMQExpress component]

This component provides a simple JMS message client. More...

Inheritance diagram for THabariExpress:

THabariActiveMQExpress

List of all members.

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.


Detailed Description

This component provides a simple JMS message client.

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


Member Function Documentation

THabariExpress::Connect (  ) 

Calling this method sets Active to True.

See also:
Active

THabariExpress::Disconnect (  ) 

Calling this method sets Active to False.

See also:
Active

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.


Member Data Documentation

Starts and stops the communication.

See also:
FActive For reading

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.

See also:
FCommunicationAdapter For reading

SetCommunicationAdapter For writing

The current connection.

Only available if the connection is active.

See also:
GetConnection For reading

The current destination.

Only available if the connection is active.

See also:
GetDestination For reading

Server address.

See also:
FHost For reading

SetHost For writing

The current MessageConsumer.

Only available if the connection is active.

See also:
GetMessageConsumer For reading

The current MessageProducer.

Only available if the connection is active.

See also:
GetMessageProducer For reading

The object message transformer.

See also:
GetMessageTransformer For reading

SetMessageTransformer For writing

Incoming JMS bytes message.

See also:
FOnBytesMessage For reading

SetOnBytesMessage For writing

Incoming JMS object message.

See also:
FOnObjectMessage For reading

SetOnObjectMessage For writing

Incoming JMS text message.

See also:
FOnTextMessage For reading

SetOnTextMessage For writing

Consumer options.

See also:
FOptionsConsumer For reading

Destination options.

See also:
FOptionsDestination For reading

Message transformer options.

See also:
FOptionsMessageTransformer For reading

Producer options.

See also:
FOptionsProducer For reading

Session options.

See also:
FOptionsSession For reading

Password.

Authorization requires Apache ActiveMQ version 5.1 or newer.

See also:
FPassword For reading

SetPassword For writing

The current Session.

Only available if the connection is active.

See also:
GetSession For reading

User name.

Authorization requires Apache ActiveMQ version 5.1 or newer.

See also:
FUserName For reading

SetUserName For writing

The component version.

See also:
GetVersion For reading

SetVersion For writing


Generated by doxygen