Designing and Building the Asynchronous Interoperability Adapters

Building the asynchronous interoperability adapters is a similar process to building a synchronous adapter, except that instead of making calls to the correct service interface, you place a message in a message queue. Again, depending on the technology in use, you may have to manipulate the data, either by converting it into the Java data proxies or by serializing it into a string as XML.

Figure 9.2 shows the role of interoperability adapters in asynchronous communications.

click to expand
Figure 9.2: The role of interoperability adapters in asynchronous communications

How the message joins the message queue depends upon the technology used. For bridging products that wrap the JMS functionality, you can place the messages in the queue using ObjectMessage types; otherwise, you have to use text-based message types.

Application Interoperability. Microsoft. NET and J2EE
Application Interoperability: Microsoft .NET and J2EE: Microsoft(r) .Net and J2ee (Patterns & Practices)
ISBN: 073561847X
EAN: 2147483647
Year: 2003
Pages: 104 © 2008-2017.
If you may any questions please contact us: