c# - EasyNetQ/RabbitMQ - Publishing a message based on topic -
i have created subscriber in easynetq/rabbitmq topic. think have atleast because can see there binding under queue name. looks following :
the queue name random guid. don't think matters.
however when try , publish message via easynetq :
await _bus.publishasync(new message<byte[]>(memorystream.toarray()), "queuecallback");
the message never gets published onto above queue.
worked out.
i publishing inside message wrapper, subscribing byte array only. if routing key same, if object type not exact match never routed.
Comments
Post a Comment