uCosminexus Service Platform, Basic Development Guide
The standard asynchronous reception (MDB (database queue)) is a standard reception for asynchronous request messages, and thus is used, as a rule, when there is no response from a service. However, when the asynchronous reception (MDB (database queue)) sends a request to a synchronous service component (Web Services or SessionBean), a response may be returned from the synchronous service component in some cases. In such a case, by specifying a response queue when making a request, the service requester can receive responses from a synchronous service component. For details about specifying a response queue when making a request, see 8.5.6 Sending JMS Messages.
The asynchronous reception (MDB (database queue)) sends the JMS message, in which binary data including a response message is set in the payload, to the response queue (shared transmission queue).
The shared transmission queue extracts the binary data from the received response and sends it to the shared receive queue. You can extract the response sent to the shared receive queue and acquire the response message from the service component. For details about response extraction, see 8.6.10 Extracting Responses (TP1/EE or JMS).
The following figure shows the relationship among the standard asynchronous reception (MDB (database queue)), the shared transmission queue, and the shared receive queue.
Figure 8-29 Relationship among the standard asynchronous reception (MDB (database queue)), the shared transmission queue, and the shared receive queue (TP1/EE)
As a response, the standard asynchronous reception (MDB (database queue)) sends the JMS message, in which binary data including a response message is set in the payload, to the response queue (shared transmission queue). The response received by the shared transmission queue is sent to the shared receive queue. By extracting the response sent to the shared receive queue, you can acquire the response from the service component. For details about response extraction, see 8.6.10 Extracting Responses (TP1/EE or JMS).
The following figure shows the relationship among the standard asynchronous reception (MDB (database queue)), the shared transmission queue, and the shared receive queue.
Figure 8-30 Relationship among the standard asynchronous reception (MDB (database queue)), the shared transmission queue, and the shared receive queue (JMS)
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.