JAXM Message Exchange Categories

In the JAXM environment, a message exchange is essentially an exchange of SOAP-based XML documents between the businesses. They can be categorized into five types:

  • Asynchronous inquiry

  • Asynchronous update with acknowledgment

  • Synchronous update

  • Synchronous inquiry

  • Fire-and-forget

We'll discuss these message categories in more detail in the following sections.

Asynchronous Inquiry

In an asynchronous inquiry, the JAXM client sends a message and does not wait for the response; see Figure 7.2. The receiver reads and processes the request and generates the reply. The reply is then sent back to the client. This reply generation and transmission is a separate process from the request receipt, and the time interval between ...

Get Java™ APIs for XML Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.