322 Using IBM WebSphere Message Broker as an ESB with WebSphere Process Server
10.8.4 Business process
Figure 10-8 shows the StockUpdateProcess business process.
Figure 10-8 The StockUpdateProcess business process
The properties for the business process are the default properties.
Interface and partner references
The business process uses one interface partner and one reference partner. You
can see these listed to the right of the business process in Figure 10-8.
An interface partner is the process interface and exposes operations that can be
called by external partners. The interface partner for this process,
StockQuoteInterface, uses the SendStockUpdateInterface interface.
Chapter 10. Scenario: Connectivity to third-party JMS providers 323
Reference partners specify the interface that is used in the invocation of another
service. In this scenario, StockQuotePartner is defined as a reference partner
and specifies that the SendStockUpdateInterface interface is to be used to call
the service (Figure 10-9).
Figure 10-9 Business process reference
Keep in mind that both the interface partner and reference partner use the same
interface, because just one operation is being invoked.
Receive activity
The Receive activity (Figure 10-10) receives the request from the client and is
associated with the SendStockUpdateInterface.
Figure 10-10 Receive activity
324 Using IBM WebSphere Message Broker as an ESB with WebSphere Process Server
SendStockQuoteInvoke Invoke activity
The SendStockQuoteInvoke Invoke activity (Figure 10-11) is responsible for
sending the JMS message to the default messaging provider. The Invoke activity
is associated with StockQuotePartner. This partner reference is wired to the
StockQuotePartner export component.
Figure 10-11 SendStockQuoteInvoke Invoke activity
Java snippet
A Java snippet (optional) component displays the results of the invoke operation
as shown in Figure 10-12.
Figure 10-12 Java snippet
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.201.17