git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2012-02-10 14:41:44 +00:00
parent beda82ad5a
commit 33f9f2968b

View File

@ -108,7 +108,7 @@ public class DestinationFacade {
} }
protected String getValidDestination() { protected String getValidDestination() {
if (jmsDestination == null) { if (jmsDestination == null || jmsDestination.isEmpty()) {
throw new IllegalArgumentException("No JMSDestination parameter specified"); throw new IllegalArgumentException("No JMSDestination parameter specified");
} }
return jmsDestination; return jmsDestination;