Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 7.5.0

Otp
maxHLevel1

Listening

Multiexcerpt include
MultiExcerptNamejms_listen
nopaneltrue
PageWithExcerptINTERNAL:_examples_BRIDGE

The central class JMSListener with stereotype <<E2EJMSListener>> is part of the Base Components of the E2E Bridge template. This class provides four operations to listen to a topic depending on the message type and offering additional information supply.

...

Listeners maintain their own JMS session. They do not share their session with other JMS operations (send and receive). If the connection to the JMS provider gets lost, the E2E xUML Runtime will try to reconnect the listener every second. The following log entries will be created in the Bridge log (for more information on the Bridge log see Logging):

...

JMS Components of E2E Builder Version 5.1

...

Deprecated since Builder 6.0

Expand
titleClick here to read the documentation of the JMS components needed to define a selector in E2E Builder releases before 6.0 ...

Define a listener as described before (see Listening on a JMS Topic). In the component diagram, on the <<JMSDependency>> of the JMS topic the listener is listening on add a JMS selector , e.g. key='E2E' as shown in the picture below. key is the key part of the property, E2E is the value part of the property. As key is a string property, the value E2E must be quoted with single quotation marks.

Figure: Component Diagram Containing a JMS Selector

For more information on how to draw the component diagram refer to Defining the Components.