I need to create queue on application start and should delete when application stop. Also messages need to reroute to alternate exchange on application shutdown. How can we add alternate exchange option in the Binding URL? I am using Java Qpid client 6.1.0 and JMS 1.1.
Binding URL:
topic://ToApp.Ex/test.queue?routingkey='#.am.#'&durable='false'&autodelete='true'&exclusive='false'