Wednesday, 10 January 2018

EDN - Subscribe events

Hi,

In previous post event we have published, so the same event we are subscribing through a mediator and writing it to file adapter/db adapter.

1. Create a mediator, add published event




2. Add a file adapter, configure it for write operation.

3. Edit the mediator, to route to file Adapter




4. Create new xslt and do mapping: 



 5. edit this tags to step 6


 6. edited tags



7. Composite will look like below:


Deploy the composite, Product event published will be writted to the file.

Keep exploring Soa!
Cheers :) 

No comments:

Post a Comment