Clebert,
On 15/07/2011 18:32, Clebert Suconic wrote:
> Currently the createQueue and createTopic semantics on JMS Sessions
> are: you should throw an exception if the destination doesn't exist.
>
> Some provider (such as ActiveMQ) have a flag where they ignore the
> Spec semantics and will throw an exception if the flag is changed.
>
> We have a few requests for doing it, and the only reason we didn't do
> it was the spec mandates throwing an exception case the destination
> doesn't exist.
>
> but this is not apparently what the users want. We will probably add
> such flag also.. so, why not just change the rule?
Can you log this in JIRA, preferably with some suggested javadoc text?
Do you mean change the spec so that createTopic/createQueue *won't* throw an exception if the destination doesn't exist?
What would the method return in that case?
Thanks,
Nigel