You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by df...@apache.org on 2021/04/09 20:12:59 UTC

[activemq-openwire] 12/19: OPENWIRE-7 Add the single v11 feild addition for subscription info. Marshallers still need to be generated for this update.

This is an automated email from the ASF dual-hosted git repository.

dfoulks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-openwire.git

commit 45ecbaf563e3c44e1c459e65dfeb07c283f0c03a
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Thu Oct 22 16:59:11 2015 -0400

    OPENWIRE-7 Add the single v11 feild addition for subscription info.
    Marshallers still need to be generated for this update.
---
 .../apache/activemq/openwire/commands/SubscriptionInfo.java  | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/openwire-core/src/main/java/org/apache/activemq/openwire/commands/SubscriptionInfo.java b/openwire-core/src/main/java/org/apache/activemq/openwire/commands/SubscriptionInfo.java
index 41ffcf6..99fc3bd 100644
--- a/openwire-core/src/main/java/org/apache/activemq/openwire/commands/SubscriptionInfo.java
+++ b/openwire-core/src/main/java/org/apache/activemq/openwire/commands/SubscriptionInfo.java
@@ -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;
+    }
 }