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
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:
- messageString or messageBlob
- jmsStringMessage or jmsBlobMessage (For more details on the JMS Header see JMS Message Header Fields.)
- sendParameter (For more details see chapter JMS Send Parameter.)
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
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:
- messageString or messageBlob
- jmsStringMessage or jmsBlobMessage (For more details on the JMS Header see chapter JMS Message Header Fields.)
- receiveParameter (For more details see chapter JMS Receive Parameter.)