git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1081697 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-03-15 09:39:47 +00:00
parent 3d61acf2b2
commit 2900806b9e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class DestinationPathSeparatorBroker extends BrokerPluginSupport {
String pathSeparator = "/";
protected ActiveMQDestination convertDestination(ActiveMQDestination destination) {
if (destination.getPhysicalName().contains(pathSeparator)) {
if (destination != null && destination.getPhysicalName().contains(pathSeparator)) {
List<String> l = new ArrayList<String>();
StringTokenizer iter = new StringTokenizer(destination.getPhysicalName(), pathSeparator);
while (iter.hasMoreTokens()) {