As described in the Provider-Consumer contract, the service implements a
WSDL-based interface, which is a collection of operations. The consumer creates a
message exchange to send a message to invoke a particular service. Since consumers
and providers only share the abstract service definition, they are decoupled from
each other. Moreover, several services can implement the same WSDL interface.
Hence, if a consumer sends a message for a particular interface, the JBI might find
more than one endpoint conforming to the interface and can thus route to the
best-fit endpoint.
Chapter 2
[ 47 ]
Message Exchange
A message exchange is the "Message Packet" transferred between a consumer and a
provider in a service invocation. It represents a container for normalized messages
which are described by an exchange pattern. Thus message exchange encapsulates
the following:
Normalized message
Message exchange metadata
Message exchange state
Thus, message exchange is the JBI local portion of a service invocation.
Service Invocation
An end-to-end interaction between a service consumer and a service provider is
a service invocation.
Pages:
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94