...
This design has the following advantages:
- only on-demand traffic is generated;
- integration with TC is de-coupled from EM's main thread -- the EM
main thread only checks whether the config file is updated;
- it does not need to create another web service, thus reduces the
related complexity.
It seems to be the best choice among the alternatives we have considered.
Using it, we will need to write new code in TC to communicate with
RabbitMQ for publishing and consuming messages, but we can reuse some
code in Clowder's RabbitMQ plugin.