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 :

enter image description here

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

Popular posts from this blog

python - How to create jsonb index using GIN on SQLAlchemy? -

PHP DOM loadHTML() method unusual warning -

c# - TransactionScope not rolling back although no complete() is called -