java - How to trigger first update with rabbitMQ using rxJava 2.0? -


is there elegant way subscribe updates after trigger first update of data using rabbitmq? or.. there way know when new consumer added , trigger sending data?

for example:

service getting updates service b (using rabbitmq, service b pushes ips need send data to).

service getting requests service c , sends each request ips service b.

my problem when service up, there might 1-5 minutes until service b pushes update. meanwhile, service c can send 100 requests, , i'll have no ips send these requests ...

if queue have known new consumer added - trigger sending ips..

i hope explains problem.

any appreciated.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -