git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-03-17 16:25:02 +00:00
parent de04214bb5
commit af65ba7242
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class ManagedRegionBroker extends RegionBroker {
String persistentMode = "persistentMode="; String persistentMode = "persistentMode=";
String consumerId = ""; String consumerId = "";
if (sub.getConsumerInfo().isDurable()) { if (sub.getConsumerInfo().isDurable()) {
persistentMode += "Durable, subscriptionID=" + JMXSupport.encodeObjectNamePart(sub.getConsumerInfo().getSubscriptionName()); persistentMode += "Durable,subscriptionID=" + JMXSupport.encodeObjectNamePart(sub.getConsumerInfo().getSubscriptionName());
} else { } else {
persistentMode += "Non-Durable"; persistentMode += "Non-Durable";
if (sub.getConsumerInfo() != null && sub.getConsumerInfo().getConsumerId() != null) { if (sub.getConsumerInfo() != null && sub.getConsumerInfo().getConsumerId() != null) {