Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB96F181B7 for ; Wed, 17 Jun 2015 09:43:08 +0000 (UTC) Received: (qmail 96805 invoked by uid 500); 17 Jun 2015 09:43:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 96766 invoked by uid 500); 17 Jun 2015 09:43:08 -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 96748 invoked by uid 99); 17 Jun 2015 09:43:07 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2015 09:43:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6ECD4CE6A3 for ; Wed, 17 Jun 2015 09:43:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.03 X-Spam-Level: ** X-Spam-Status: No, score=2.03 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.58, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=1.396] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=163.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lHnBpCQz93ny for ; Wed, 17 Jun 2015 09:42:56 +0000 (UTC) Received: from m12-18.163.com (m12-18.163.com [220.181.12.18]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 803D927650 for ; Wed, 17 Jun 2015 09:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Mime-Version:Subject:From:Date:Message-Id; bh=WXGeT 3ayc46bYWrv1oGj911Stt5juLBtR6vd59ZYTDc=; b=XODgd7ayKyfzkLRWA5TmU Bqvz9Jcas5lLKn6+63RIRMHJNFlBnoiswVOwiH9H1XE19C5DLoatxGNuXpO4mhbd prq6n569vSilSl7o3+/ryVT5bKYZKDTtVgvD6Hpm3G8qeKIFukhb3T87KYrSNGj+ ToP8aL9dhFE/nEVIX0QLWU= Received: from [192.168.2.128] (unknown [111.164.190.218]) by smtp14 (Coremail) with SMTP id EsCowEAJt1EQQYFVPIx5Cg--.1508S3; Wed, 17 Jun 2015 17:42:42 +0800 (CST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected From: William In-Reply-To: <1434532454651-4697874.post@n4.nabble.com> Date: Wed, 17 Jun 2015 17:42:40 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: <08E01BDE-90F3-4BB4-8729-EC1DBC4EF2A3@163.com> References: <1434532454651-4697874.post@n4.nabble.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.2098) X-CM-TRANSID: EsCowEAJt1EQQYFVPIx5Cg--.1508S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrtw1kZrWUAw1rXw4kCF4xtFb_yoWktFg_uF 98Cry7C3srZ3yxWr1kJrZaqrsavw409Fy7t340qr1ava4qv39YqF4xWrnYqr1UJw1xXFZI gws3WFy8Zr1FqjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8ag43UUUUU== X-Originating-IP: [111.164.190.218] X-CM-SenderInfo: 5vwuvvpwsrv3i6rwjhhfrp/1tbiLgYcPVSIIE1THgABs0 As I know, AMQ does not support this. > On Jun 17, 2015, at 5:14 PM, SummerScent = wrote: >=20 > Hi all, >=20 > I am so new to ActiveMQ. >=20 > I am using ActiveMQ MQTT for my project. >=20 > My subscriber need to receive all offline messages even they are = connected > at the first time after ActiveMQ is started. >=20 > I tried to created an durable topic subscriber from web console. So = all > offline message will be delivered to this topics as pending message. = When my > subscriber is connected, all the pending message will be delivered to = it. > ActiveMQ 5.11.1/5.11.0/5.10.0 is working fine with this solution. But = there > is one problem with these ActiveMQ versions. The broker is always sent = the > messages which already sent to the subscriber before to the subscriber = when > it is connected. >=20 > With Active MQ 5.9.1, these solution does not work. >=20 > Any advice is appreciated. >=20 > Thanks many in advance! >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > -- > View this message in context: = http://activemq.2283324.n4.nabble.com/Active-MQ-5-11-1-MQTT-Message-is-aut= omatically-sent-to-subscriber-when-it-is-connected-tp4697874.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.