...
Before digging into implementation details, let's take a look at the relationship between the example scenario and the Datatype Channel EIP by comparing their core components.
Datatype Channel EIP (Figure 1) | Datatype Channel Example Scenario (Figure 2) |
---|---|
Sender | Client |
Datatype Channel | Filter and Sequence mediators of the ESB. The Filter Mediator specifies the datatype channel to use, and the ESB profile each datatype channel as a Sequence Mediator. |
Receiver | Stock Quote Service |
The ESB configuration
Given below is the ESB configuration for simulating the example scenario explained above.
Anchor | ||||
---|---|---|---|---|
|
...
- samples.services.SimpleStockQuoteService :: Generating Market activity report for : [JLN, FDZ, EQR, XNV, RDR, CZC, LIY, ZEP, ZJX, GWO, STS, NQU, RMA, UUR, PFL, ZEF, IYU, ZLV, KTW, PUN, IOZ, PZJ, HAE, PSL, CQM, CLX, BWI, UYF, QWC, EKB, LMM, UQI, GZA, KRC, GFB, DWM, ETA, SRS, VEP, ZTS, TNE, FJF, LNV, QBY, ZIO, HBS, IIW, SNO, MMO, BTY, OGJ, OUW, CLW, OZT, MXB, HNK, FQC, VEI, BLD, LUP, PHR, JUQ, MZM, GIL, EVE, UAH, SHV, WYS, MAG, XBX, ZYB, MUX, MUO, DAM, DVR, RDF, LGB, KGS, DWP, ZAG, SDF, BSF, CTX, MKG, YTO, RRX, OVJ, MEZ, ODU, JGU, GQB, SLW, UCQ, GDI, DIO, BKV, UUQ, JES, TAZ, AAU]
samples.services.SimpleStockQuoteService :: Full quote for : IBM
ESB Profile logs:
INFO - LogMediator Messaging_Channel = MARKET_ACTIVITY
INFO - LogMediator Messaging_Channel = FULL_QUOTE