Push and pull

Push and pull

Synapse supports tasks that can be run periodically. A task can be written in Java and configured in the synapse.xml file.

To demonstrate this integration pattern, we will use the example scenario shown in the previous figure. In this scenario, we try to reconcile the data in two different systems, namely, a trading system and clearance system, periodically. These two systems are web-service-enabled using connector services written using Axis2. In fact, these services are data services, which is a special type of service handled by the Axis2 data services deployer.

  1. A Synapse message injector task periodically runs and injects a message ...

Get Apache Axis2 Web Services Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.