...
- SS registration with polyglot.
- Add 1 exchange/queue for SS registration with polyglot.
Set its TTL to say 5 secs, so msgs are discarded in such time. - SS publishes msgs to this queue, regarding aliveness, and conversion capabilities.
- Add 1 exchange/queue for SS registration with polyglot.
In "checkin", SS posts the content of a converted file and Polyglot saves it, instead of creating a "<file>.url" file.
What need to be added or changed:
- POL discoveryAMQ(), heartbeat() thread implementation needs to be changed.
With this design, a SS can keep its REST endpoints, but POL does not query them. So it does not matter whether multiple SS containers run on the same VM or different VMs.