[major] change mig exchange type to direct, requires exchange recreation

This commit is contained in:
Julien Vehent 2015-07-24 17:01:20 -04:00
Родитель 794d23b347
Коммит 80c1162da5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -288,7 +288,7 @@ func initRelay(orig_ctx Context) (ctx Context, err error) {
panic(err)
}
// declare the "mig" exchange used for communication with the agents
err = ctx.MQ.Chan.ExchangeDeclare("mig", "topic", true, false, false, false, nil)
err = ctx.MQ.Chan.ExchangeDeclare("mig", "direct", true, false, false, false, nil)
if err != nil {
panic(err)
}