I know that i can specify the durable setting for each queue and persistent for every message manually. but i'm looking for a way to change the default behavior so everything (queues, messages, etc) will be persistent and durable.
Setting this in a central place in the code will be better than configuration file but please share all the ways to do so instead of "generic function" because i have lots of places that using the amqpapi directly.
Any ideas?