Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 987 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 987 Bytes

sarmaad MyGet Build Status

WebJobs.Extensions.RabbitMQ

This is an extension to Azure WebJobs adding RabbitMQ support.

RabbitQueueTriggerAttribute: this attribute will subscribe to the queue and triggers whenever a message arrives.

[RabbitQueueTrigger("queueName")]

RabbitQueueBinderAttribute: this attribute extends RabbitQueueTriggerAttribute to allow for dynamic creation of the queue and bind it to the exchange.

[RabbitQueueBinder("exchangeName", "routingKey", "errorExchangeName(optional)","autoDelete=false(optional)","durable=true(optional)","exclusive=false(optional)")]

RabbitMessageAttribute: this attribute allows you to publish a message to an exchange.

[RabbitMessage("exchangeName","routingKey","mandatory=false(optional)"]

Blog Post: http://www.sarmaad.com/2016/11/azure-webjobs-and-rabbitmq/