Following are the valid options:
If this field is set and the exclusive field is also set, then the queue is deleted when the connection closes. If this field is set and the exclusive field is not set the queue is deleted when all the consumers have finished using it.
If set when creating a new queue, the queue will be marked as durable. Durable queues remain active when a server restarts. Non-durable queues (transient queues) are purged if/when a server restarts. Note that durable queues do not necessarily hold persistent messages, although it does not make sense to send persistent messages to a transient queue.
Exclusive queues can only be used from one connection at a time. Once a connection declares an exclusive queue, that queue cannot be used by any other connections until the declaring connection closes.
If set, the server will not create the queue. This field allows the client to assert the presence of a queue without modifying the server state.
Has no effect as it represents an empty option.
In the absence of a particular option, the defaul value is false for each option @param queueName The name of the delcared queue. @param alternateExchange If a message is rejected by a queue, then it is sent to the alternate-exchange. A messagemay be rejected by a queue for the following reasons: