Prev | Current Page 425 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

Hence the message will be forwarded to both these
components.
Deploy and Run the Sample
To build the sample, change directory to ch15\05_WireTap and type ant:
cd ch15\05_WireTap
ant
This will compile all the files, including the HTTP client program. Now to test the
sample, first bring ServiceMix up by executing:
cd ch15\05_WireTap
%SERVICEMIX_HOME%\bin\servicemix servicemix.xml
Now in a different command prompt execute ant run.
cd ch15\05_WireTap
ant run
The HTTP client program will send the test XML message to the HTTP connector
configured in the ESB. In the ESB console we can validate that the message is
delivered to both the test:echo and test:trace services. The HTTP client also
prints out the response received back from the ESB.
Message Filter
Message filter can eliminate the unwanted messages from a set of messages published.
Enterprise Integration Patterns in ESB
[ 324 ]
Notation
Explanation
Messages are of different kinds, and the same is true with events also. There are
unwanted events and events which are to be tracked and reacted based on event
type in particular fashions.


Pages:
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437