Check if
EastAirQueue Destination is added.
Building a Sample Application
[ 252 ]
All this is achieved through JMS BC. In case of outbound message flow, where the
JMS BC is being invoked by our business process, the JMS BC acts as an external
JMS service provider. In this role, the JMS BC converts a normalized message that it
receives as part of the message exchange from our process, to a JMS message. After
the JMS message is created as a result of the message conversion, the JMS message is
sent to JMS destination.
The above screenshot shows the NetBeans output when the BPEL process is
executed. The NMR message is converted into a valid JMS to send to the queue.
Part E ??“ Conditions and Sequence
This part introduces the sequencing and branching properties of BPEL. When a
request for a reservation is made, the BPEL process checks the destination sector.
If the destination is set to 'SFO', then the itinerary is routed to NorthAirWS,
otherwise the itinerary is sent to WestAir Web Service. Since WestAir Web Service
is new, we create an identical web service using NorthAir Web Service and name it
WestAir Web Service. They do not do any actual itinerary processing but they send
a confirmation message back to the client so we can find out which airlines' web
service was invoked.
Pages:
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221