We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78ee343 commit bde4c08Copy full SHA for bde4c08
activemq-web/src/main/java/org/apache/activemq/web/QueueBrowseQuery.java
@@ -58,6 +58,13 @@ public void setBrowser(QueueBrowser browser) {
58
59
public Queue getQueue() throws JMSException {
60
if (queue == null) {
61
+ try {
62
+ if (getBrokerFacade().getQueue(getValidDestination()) == null) {
63
+ throw new IllegalArgumentException("Queue " + getValidDestination() + " doesn't exist");
64
+ }
65
+ } catch (Exception e) {
66
+ throw new JMSException(e.getMessage());
67
68
queue = getSession().createQueue(getValidDestination());
69
}
70
return queue;
0 commit comments