rabbitmq abstracted from application

This commit is contained in:
2026-02-14 16:18:03 +01:00
parent 2ea7060eef
commit b0ef75e43e
4 changed files with 22 additions and 6 deletions

View File

@@ -40,6 +40,6 @@ public class UserController : ControllerBase
[HttpPost("test")]
public async Task Test(IMessagePublisher publisher)
{
await publisher.PublishAsync("test", "test.test", "Test poruka");
await publisher.PublishAsync("Test poruka");
}
}