mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
beda82ad5a
commit
33f9f2968b
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user