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 9F0807449 for ; Wed, 14 Sep 2011 04:59:22 +0000 (UTC) Received: (qmail 13462 invoked by uid 500); 14 Sep 2011 04:59:21 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 13438 invoked by uid 500); 14 Sep 2011 04:59:21 -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 13387 invoked by uid 99); 14 Sep 2011 04:59:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 04:59:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of suonayi2006@163.com designates 220.181.13.80 as permitted sender) Received: from [220.181.13.80] (HELO m13-80.163.com) (220.181.13.80) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 04:59:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Message-ID:Subject: MIME-Version:Content-Type; bh=UDnVxF4Fxa5owN16Wu+JLvbAhJw0qZMLCn rgoj0Hxi8=; b=VgkBaIvYJEAvep8MixRQDxGwvKrCUI7RdAZdO78O7irXCdWqzX vG0mDrsLJcDjQtnJYnfqlvNlR4Ps4SHzlaCQdntWbAOuXrYbXlybZwgECtmuf5kj W+XaXD2aTLgHVQ/LRtj2hw2Dx5kjAW5Juf7Ro4v/MpWSH2gYy2SCR544M= Received: from suonayi2006 ( [203.119.80.8] ) by ajax-webmail-wmsvr80 (Coremail) ; Wed, 14 Sep 2011 12:58:46 +0800 (CST) Date: Wed, 14 Sep 2011 12:58:46 +0800 (CST) From: SuoNayi To: "users@activemq.apache.org" Message-ID: <314af1b5.922c.132664d2eb4.Coremail.suonayi2006@163.com> Subject: How to send a message to multiple destinations? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_116266_1793973570.1315976326835" X-Originating-IP: [203.119.80.8] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 110829(14649.4006.3992) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-CTRLDATA: jrVmCGZvb3Rlcl9odG09NTAxOjgx X-CM-TRANSID: UMGowEDJJUCHNHBO0wIRAA--.2785W X-CM-SenderInfo: xvxr0td1lsiiqw6rljoofrz/xtbB0ge6Gk0vKkmQngACs4 X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_116266_1793973570.1315976326835 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi all,it's said that we can send a message to multiple destinations using composite destinations as following, Queue queue = session.createQueue("store.orders, store.products"); this will send a message to queues store.orders and store.products. Could I send the message to multiple queues as following, Queue queue = session.createQueue("store.>");//wildcards Does this work ? ------=_Part_116266_1793973570.1315976326835--