25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
400 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using DotNetCore.CAP;
  6. namespace Sample.RabbitMQ.SqlServer.Services.Impl
  7. {
  8. public class OrderService : IOrderService, ICapSubscribe
  9. {
  10. [CapSubscribe("sample.rabbitmq.sqlserver.order.check")]
  11. public void Check()
  12. {
  13. Console.WriteLine("out");
  14. }
  15. }
  16. }