Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 67461 invoked from network); 1 Sep 2010 17:08:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 17:08:29 -0000 Received: (qmail 54901 invoked by uid 500); 1 Sep 2010 17:08:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54856 invoked by uid 500); 1 Sep 2010 17:08:28 -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 54847 invoked by uid 99); 1 Sep 2010 17:08:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 17:08:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.38.34] (HELO web50106.mail.re2.yahoo.com) (206.190.38.34) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Sep 2010 17:08:21 +0000 Received: (qmail 28230 invoked by uid 60001); 1 Sep 2010 17:07:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283360879; bh=0xI0hPfnO6RbLN7Mbtas2EEExMsoTIntV79vBHU0PNc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AnBpXpzgz8LO8tBNEFezFYpPvS7NZ3KKP7Eg+kCPZSEVOti6hl2ZbslA/q/vLvKoz3A6bSQIvJxIxHgRclU7jVQ2MObOYpPeL5BgmjuAneqwF5KXPolzo3wDBpm6bwAoR5eADfe0XtGZMDdG/VqXj0IvsgJrcYTXgQLTTLgTLQQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2Nb6JAjm+dC0b/rnGOxLaEKRuY1Qrgimwj+JIHH/Q+P5i+2yzHbIFEHoBaYATdhIby/qGDz0TSDhF7a/G3linjGQbg0c8JMvjHKgejbo6JUTOCIugfSDrzvTxU7ZFuCS+ldWyqiRFV+XwCRGWHprFmJ8/60vsdK0WV/JhoL3PTo=; Message-ID: <758242.27956.qm@web50106.mail.re2.yahoo.com> X-YMail-OSG: uO5APGYVM1kOiGu59N.N4s3JqR_gqS9RnNfx.RDKrgwV7hs cBZqukGxrPjtESu6YttkTtq3o6Sx8ne5xy9nCr6yrKEALRPKDFm9XUm50R7m 3Xod4e.CnPu6uoWKhNS.nV5pkqU_FWJ1bbk_P9UTfDN4Eys6KSEjZVSIJgsW nhafw9M1sO5ydEUd946tt_956.A3CG108kZBIYpmVjvYzBH6DDUhTRoVnUV. oT5rUdZYaDyEBJ4uHMrqAEVQU3YcwRr6el.rcWDvXtnLqCPNLcRIbFL3GRzb bANlVARC286vhg45BXokK95FS2gfcJxYw2RieoK9dOLjLKPqZpGC7eg-- Received: from [75.146.103.54] by web50106.mail.re2.yahoo.com via HTTP; Wed, 01 Sep 2010 10:07:59 PDT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 Date: Wed, 1 Sep 2010 10:07:59 -0700 (PDT) From: qin ding Subject: Stomp Header To: users@activemq.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I tried to set some sendHeaders like replyTo and others,=A0 when I sendText= Message =0Aor simply send without passing header, the message reaches to th= e queue.=A0 =0AHowever, if I added the headers, message seems cannot reach = to the queue.=0A=0Athis is what I do in sendMessage function=0A=0Avar=0Ahea= ders.addHeader(SendHeaders.REPLY_TO, replyAddress);headers: SendHeaders =3D= =0AnewSendHeaders();stomp.sendTextMessage(destination, message.toXMLString= (), =0Aheaders);=0A//stomp.send(destination, message.toXMLString(), headers= );=0A=A0=0AIs this the way to create a sendHeaders and pass it to the send = function?=A0 =0APlease help.=0A=A0=0AQD=0A=0A=0A