The documentation for ClientSession::createQueue(String, String) says
Creates a <em>non-temporary</em> queue <em>non-durable</em> queue.
However, the implementation creates a durable queue.
On the other hand, the documentation for ClientSession:createQueue(SimpleString,SimpleString) says the same thing and the implementation does in fact create a non-durable queue.
This behavior is inconsistent. I don't know if the documentation is wrong, or the implementation, but they should both do the same thing.