You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using DotNetCore.CAP;
-
- namespace Sample.AzureServiceBus.InMemory;
-
- public class SampleSubscriber : ICapSubscribe
- {
- public record Message(string Content);
-
- [CapSubscribe("cap.sample.tests")]
- public void Handle(Message message)
- {
- Console.WriteLine($"Message {message.Content} received");
- }
- }
|