Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Command Message EIP allows you to use messaging, to invoke a procedure in another application. For more information, refer to see http://www.eaipatterns.com/CommandMessage.html.

...

This example demonstrates how the ESB uses messaging to invoke functionality provided by an application, in this case a stock quote service. A command message can be in any form, including a JMS serialized object or a text message in the form of an XML or SOAP request. In this example, the ESB will pass the message as a document to a sample Axis2 server and invoke the operation directly using the Callout mediator.

...

Command Message EIP (Figure 1)Command Message Example Scenario (Figure 2)
SenderStock Quote Client
Command MessageCallout mediator
ReceiverStock Quote Service

...