rabbitmq / rabbitmq-recent-history-exchange

RabbitMQ Recent History Exchange
Other
82 stars 21 forks source link

If header 'X-Recent-History-Store' set, don't store the message #6

Closed mweibel closed 10 years ago

mweibel commented 10 years ago

Using the header X-Recent-History-Store users of the recent history exchange can specify whether a message should be stored or not. If set to false, the message with this header will not be stored.

I don't know if you want to have this extension but for me it's quite useful :)

videlalvaro commented 10 years ago

I totally forgot about this PR. Sorry. Can you make the header all lower case? 'x-recent-history-store', also the name should be 'x-recent-history-no-store' maybe?

mweibel commented 10 years ago

Yep, changed. Was a bit lazy though, just edited it on the webinterface ;)

videlalvaro commented 10 years ago

I'm changing the value to true, since the header says x-recent-history-no-store. I think this makes more sense