Prev | Current Page 411 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"


cd ch15\02_ContentEnricher
ant run
The JMS client program console will print out the messages it sends to the ESB.
It also prints out the response message from the content enricher. The JMS client
console is shown in the following screenshot:
XPath Splitter
An XPath splitter is based on the original splitter EAI pattern. A splitter can identify
repeating elements in a message and split the message and publish each element
part as separate messages to a different channel. The splitter can also separate out
non-repeating elements, in such case the published message will be a subset of the
original message. XPath splitter uses XPath to find the repeating element pattern.
Chapter 15
[ 309 ]
Notation
Explanation
Many composite documents like a full airline passenger name list or an order with
many order items will contain repeating elements. Sometimes we may need to
process each of these repeating elements separately. An XPath splitter can split the
composite message into individual parts based on the repeat pattern and publishes
the parts onto different destinations.
Illustrative Design
Using the Acme's online e-commerce pages, a customer can add multiple items to the
shopping cart and at the end of the shopping trip he can check out.


Pages:
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423