[rabbitmq-discuss] duriable exchange and queue

Feng He fenghe at nsbeta.info
Wed Nov 14 10:10:33 GMT 2012


于 2012-11-14 18:06, Emile Joubert 写道:
>
> https://github.com/ruby-amqp/amqp/blob/master/lib/amqp/exchange.rb#L251
> https://github.com/ruby-amqp/amqp/blob/master/lib/amqp/queue.rb#L138
>
> Both exchanges and queues can be declared with a boolean :durable option.
>
> An example of a queue being declared durable can be found in the Ruby
> tutorial implementation:
>
> https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/ruby/worker.rb#L8
>

Thanks a lot Emile.


More information about the rabbitmq-discuss mailing list