jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: Session.createQueue / createTopoic

From: Clebert Suconic <clebert.suconic_at_gmail.com>
Date: Fri, 15 Jul 2011 15:30:36 -0500

sorry, my last email was sent by mistake... was still typing and the
send was pressed by accident...

What I meant to say is.. the API states this.

"Note that this method is not for creating the physical queue. The
physical creation of queues is an administrative task and is not to be
initiated by the JMS API. The one exception is the creation of
temporary queues, which is accomplished with the createTemporaryQueue
method."


I think we should remove that text, or to make clear a provider may
decide to create the Queue, as this is everybody's implementation.

We haven't allowed createQueue in our product to automatically create
the queue as we interpreted the rule as written.


As for the test, I guess I confused it with IllegalStateTests which
tests createQueue, but for a different purpose (createQueue shouldn't
be allowed on a TopicSession).