OPENWIRE-7 Add the single v11 feild addition for subscription info.
authorTimothy Bish <tabish121@gmail.com>
Thu, 22 Oct 2015 20:59:11 +0000 (16:59 -0400)
committerTimothy Bish <tabish121@gmail.com>
Thu, 22 Oct 2015 20:59:11 +0000 (16:59 -0400)
Marshallers still need to be generated for this update.

openwire-core/src/main/java/org/apache/activemq/openwire/commands/SubscriptionInfo.java

index 41ffcf6..99fc3bd 100644 (file)
@@ -30,6 +30,7 @@ public class SubscriptionInfo implements DataStructure {
     protected String clientId;
     protected String subscriptionName;
     protected String selector;
+    protected boolean noLocal;
 
     public SubscriptionInfo() {
     }
@@ -151,4 +152,15 @@ public class SubscriptionInfo implements DataStructure {
     public void setSubscribedDestination(OpenWireDestination subscribedDestination) {
         this.subscribedDestination = subscribedDestination;
     }
+
+    /**
+     * @openwire:property version=11
+     */
+    public boolean isNoLocal() {
+        return noLocal;
+    }
+
+    public void setNoLocal(boolean noLocal) {
+        this.noLocal = noLocal;
+    }
 }