Listener - jms : TopicListener

The JMS TopicListener.

Constructor

__init

(Session | ReceiverEndpointConfiguration c, string? topicPattern, string messageSelector)

  • 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

getCallerActions

()

returns TopicSubscriberCaller

Obtains the TopicSubscriber actions handler.

LifeCycle Methods

__attach

(service s, string? name)

returns error?

Registers the TopicListener.

Parameters

  • name string? - ()
  • The name of the service.

  • Return Type

    (error?)
  • Returns nil or an error upon failure to register the listener.

__start

()

returns error?

Starts the TopicListener.

  • Return Type

    (error?)
  • Returns nil or an error upon failure to start.

__stop

()

returns error?

Stops the TopicListener,

  • Return Type

    (error?)
  • Returns nil or an error upon failure to close the subscriber.