Console app or web api for scatter gatherer recipients?

时间:2019-03-19 14:39:40

标签: c# rest rabbitmq integration

I am trying to learn more about the scatter gatherer pattern. Say I have the following recipients:

1) Offer1
2) Offer2
3) Offer3

These offers will receive messages from RabbitMQ and publish replies to RabbitMQ. Therefore there will be no Web API endpoints.

I am debating whether these should be console applications or web api projects. I believe they should be web api projects because there are no web api endpoints e.g. GET; PUT etc.

Is there any reason they should be web api projects? The reason I ask is because the examples I have looked at online appear to be web api projects and I cannot see a reason for this, so I wander if I am missing something.

0 个答案:

没有答案