Versions Compared

Key

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

To communicate statically with a message queue means, that the connection to a queue is defined in the component diagram (and not dynamically within action script). Once a JMS session has been opened by a service by sending or receiving a message, this session stays open and is used for further send or receive operations as long as the service is running. Listeners maintain their own JMS session. See JMS Connection and Session Pooling for more information on connections to a JMS.

Multiexcerpt include
MultiExcerptNamejms_statsendreceive
nopaneltrue
PageWithExcerptINTERNAL:_examples_BRIDGE

Sending

The sending of messages to a JMS provider is done by the use of the <<JMSAdapter>>. The figure below illustrates the basic structure of an activity diagram using it. The JMS connection settings are specified in the component diagram.

Figure: Activity Diagram for Sending a JMS Message Statically

Image Modified

Info
iconfalse

JMS adapters are able to send messages of type String or of type Blob.

The <<JMSAdapter>> action can be defined by the help of the Action Wizard.

For sending messages to a JMS provider the following parameters are applicable to the JMS adapter action:

Receiving

The manual receipt of messages from a JMS provider is done by the use of the <<JMSAdapter>>. The figure below illustrates the basic structure of an activity diagram using it. The JMS connection settings are specified in the component diagram.

Figure: Activity Diagram for Reveiving a JMS Message Statically

Image Modified

Info
iconfalse

JMS adapters are able to receive messages of type String or of type Blob.

The <<JMSAdapter>> action can be defined by the help of the Action Wizard.

For receiving messages from a JMS provider the following parameters are applicable to the JMS adapter action:

Info
iconfalse

The receipt of messages with Active MQ is only reliable using millisecondsToWait >= 10 . This receive parameter can only be specified using dynamic JMS.

Panel
titleOn this Page:
Table of Contents