From users-return-50913-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Wed Feb 6 23:42:41 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 63755180679 for ; Thu, 7 Feb 2019 00:42:41 +0100 (CET) Received: (qmail 45460 invoked by uid 500); 6 Feb 2019 23:42:40 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 45445 invoked by uid 99); 6 Feb 2019 23:42:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2019 23:42:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 565FB180653 for ; Wed, 6 Feb 2019 23:42:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.796 X-Spam-Level: *** X-Spam-Status: No, score=3.796 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.233] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6aFri5Ir5J1H for ; Wed, 6 Feb 2019 23:42:37 +0000 (UTC) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4294C623C0 for ; Wed, 6 Feb 2019 23:42:37 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id y8so4735963wmi.4 for ; Wed, 06 Feb 2019 15:42:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=08qJUypvvyG506pXEKXfepWjETQK7ZLSrHig/QN5mLo=; b=B+iKisfWq2yVWlvgRe3uWHy5APv9vvZu1fTw2wBPzLS3NOtIRRVH4cfFvMGNT5A2oW X7UHjSbTbZtmRB0YwMvfVD5QOge7q92UEB8/AsIm5bss5iN7kvyT6Lw6bKhkFuQI4Xba RinPwUZeuw1S2pptChOKcWOpJU+LdwXb7QWRrirqCrQAJ9PzHhXpmxEnuZWaMXHMJBCv J1B6Ugj2YKGHl6fOnYTL7Fqt0bPYMXROPpbpJjlAeU5/d53Dc2iadNQiackXrU2CjJso OtORHD9yVYb9H0XCLPzkI7GXCCm/3OqDWIXuK4TTrA3m7zo5zXwDcQZL6PrCGq+KWY/i D9eg== X-Gm-Message-State: AHQUAuYu+1o7FtnbpR47nohxtzXsQpp9ZhKYSaHzH6UBladec5+rBKfR Ql5XgsOtFxhi/KCO8kN4jpLmNU1thA5KYlOqmT6hdQ== X-Google-Smtp-Source: AHgI3IZwwcGwE37v29J1lJf4+32yMtCgzGsF2h42kpDOcxA605YGuZJexwlC3cChoWt3myMeGqzrGo6+aIv1352utHQ= X-Received: by 2002:a1c:4c0c:: with SMTP id z12mr4716209wmf.17.1549496556555; Wed, 06 Feb 2019 15:42:36 -0800 (PST) MIME-Version: 1.0 References: <1549364215174-0.post@n4.nabble.com> In-Reply-To: <1549364215174-0.post@n4.nabble.com> From: Tim Bain Date: Wed, 6 Feb 2019 16:42:24 -0700 Message-ID: Subject: Re: Unwanted (unsolicited) messages from ActiveMQ.Advisory.MasterBroker To: ActiveMQ Users Content-Type: multipart/alternative; boundary="000000000000d5931b058142474a" --000000000000d5931b058142474a Content-Type: text/plain; charset="UTF-8" I notice a few things that are different from the configuration in the documentation (https://activemq.apache.org/virtual-destinations.html). I'm not sure if these would cause the behavior you're seeing, but it might be worth changing them to see if that changes the behavior. 1. Your prefix contains no wildcards, whereas the example uses a * to allow multiple consumer groups. I'm not sure that that would make any difference, but it's probably worth a quick check to make sure there's not something that's breaking without the wildcard. 2. Your virtual topic wildcard (mqtt.>) matches against your queue prefix, whereas the example shows a prefix that doesn't match. Theoretically, that shouldn't matter since one is for queues and one is for topics, but it's worth changing quickly to see if it makes a difference due to something I'm not considering. Again, I don't know that either of these should make a difference, but please eliminate them as possible explanations before the next step, which would be to submit a bug in JIRA for the problem. Thanks, Tim On Tue, Feb 5, 2019, 7:24 AM emw Hello everyone, > I have a consumer (spring default message listener) of queue mqtt.values.> > > ActiveMq version is 5.15.8 > > Every time the listener starts it receive a message from topic > ActiveMQ.Advisory.MasterBroker > > Is that right? Can you help me in order to not receiving such a message. > > Meybe it is important, in the configuration I have virtualTopic from mqtt.> > to queue with prefic mqtt.values. > > > > > selectorAware="false"/> > > > > > > > This is the .toString() of the message: > ActiveMQMessage {commandId = 0, responseRequired = false, messageId = > ID:-43596-1549363680962-1:1:0:0:1, originalDestination = > topic://ActiveMQ.Advisory.MasterBroker, originalTransactionId = null, > producerId = ID:-43596-1549363680962-1:1:0:0, destination = > queue://mqtt.values.>, transactionId = null, expiration = 0, timestamp = 0, > arrival = 0, brokerInTime = 1549363681468, brokerOutTime = 1549363786316, > correlationId = null, replyTo = null, persistent = false, type = Advisory, > priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, > compressed = false, userID = null, content = null, marshalledProperties = > org.apache.activemq.util.ByteSequence@20833b33, dataStructure = null, > redeliveryCounter = 0, size = 0, properties = {originBrokerName=localhost, > originBrokerId=ID:-43596-1549363680962-0:1, > originBrokerURL=nio+ssl://:61616}, readOnlyProperties = true, > readOnlyBody = true, droppable = false, jmsXGroupFirstForConsumer = false} > > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html > --000000000000d5931b058142474a--