Listener -
jms
: TopicListener
The JMS TopicListener.
Constructor
__init
(Session | ReceiverEndpointConfiguration c, string? topicPattern, string messageSelector)
- c Session | ReceiverEndpointConfiguration
-
The JMS Session object or the configurations related to the receiver.
- topicPattern string? ()
-
The name or the pattern of the topic subscription.
- messageSelector string
-
The JMS selector statement.
Methods
LifeCycle Methods
Fields
- consumerActions TopicSubscriberCaller BLangTypeInit: new null ([])
-
Handles all the caller actions related to the TopicSubscriber.
- session Session
-
The session of the topic subscriber.
- messageSelector string
-
The message selector for the topic subscriber.
Methods
Obtains the TopicSubscriber actions handler.
-
Return Type
(TopicSubscriberCaller) The TopicSubscriber actions handler.
LifeCycle Methods
Registers the TopicListener.
-
Return Type
(error?) Returns nil or an error upon failure to register the listener.
Starts the TopicListener.
-
Return Type
(error?) Returns nil or an error upon failure to start.