THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
This sequence diagram shows a InOut service invocation between a consumer and a provider.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
- The consumer creates an InOut message exchange, populates the "in" message (the request) and send it to the NMR
- The provider component polls the delivery channel for an exchange
- It processes the request, populates the "out" message and send it back to the NMR
- The consumer polls the delivery channel for the response
- It processes the response and mark the exchange as "done"
- The provider receives the "done" status from the delivery channel
...
borderColor | #ccc |
---|---|
bgColor | #ffffff |
title | WSDL Messaging Model |
borderStyle | solid |
...
This example is an asynchronous invocation, but JBI also handles synchronous calls. In such a case, the consumer call to send would be a sendSync and would block the thread until the response is received. On the provider side, if the provider wish to synchronously deliver the response, the call to send (#3) would block until the consumer acks the response.
...