I've modified the ClientSession API to distinguish between temp queues and regular queues.
createTemporaryQueue(...) methods create temporary queues (which are non-durable )
createQueue() methods create regular queues which can be either durable or non-durable.
Only the client API has changed: the queue creation on the server side is the same (we send 2 booleans for temp and durable properties)