Back to CDK.Concepts.Understanding Exchange Patterns, or CDK.Concepts.Understanding Exchange Patterns Info
| At line 4 added 14 lines. |
| * An exchange pattern |
| ** consists of multiple steps, all of which must be completed before the exchange is complete. |
| ** always begins with a Consumer. |
| ** always ends with a Status, unless... |
| ** is terminated if a message exchange is received with ERROR status. |
| * A message exchange |
| ** has IN, OUT, and Fault (normalized) messages. |
| ** can only have one exchange pattern for its lifetime. |
| ** can have PROVIDER or CONSUMER role depending on the pattern's current step. |
| ** is not complete unless Completing message exchanges |
| *** __ALWAYS COMPLETE MESSAGE EXCHANGES!__ |
| \\ |
| Here is the key for the diagrams below: |
| [{Image src='mex-key.jpg' }] |
| At line 5 changed 1 line. |
| !! InOut |
| !!! InOut |
| [{Image src='inout.jpg'}] |
| * Consumer sends a message exchange with the IN normalized message (i.e. the request payload) |
| ** Role: Consumer |
| ** Status: Active |
| * Provisioner accepts the message exchange and processes the IN message |
| ** Role: Provider |
| ** Status: Active |
| * Provisioner sends the message exchange back with: |
| ** an OUT message |
| ** a Fault message |
| ** a status of ERROR |
| ** Role: Consumer |
| ** Status: Active | Error |
| * Consumer sets status of DONE or ERROR and sends acknowledgement to Provider |
| ** Role: Provider |
| ** Status: Done | Error |
| At line 7 changed 1 line. |
| !! InOnly |
| !!! InOnly |
| [{Image src='inonly.jpg'}] |
| * Consumer sends a message exchange with the IN normalized message (i.e. the request payload) |
| ** Role: Consumer |
| ** Status: Active |
| * Provisioner accepts the message exchange and processes the IN message |
| ** Role: Provider |
| ** Status: Active |
| * Provisioner sends the message exchange back with a Status of ERROR or DONE |
| ** Role: Consumer |
| ** Status: Done | Error |
| At line 49 added 1 line. |
| At line 10 changed 1 line. |
| Neither of these exchange patterns are used much and are not supported by most, if not all, of Sun's JBI components. If you plan to support these patterns, the same rules apply regarding completing them. The diagrams are below: |
| Neither of these exchange patterns are used much and are not supported by most, if not all, of Sun's JBI components. If you plan to support these patterns, the same rules apply regarding completing them. |
| At line 14 changed 1 line. |
| * [Provisioner vs. Consumer: Explaining Roles|CDK.Concepts.Roles] |
| * [Provider vs. Consumer: Explaining Roles|CDK.Concepts.Roles] |