Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 86429 invoked from network); 28 Aug 2006 06:59:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Aug 2006 06:59:07 -0000 Received: (qmail 57197 invoked by uid 500); 28 Aug 2006 06:59:06 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 57078 invoked by uid 500); 28 Aug 2006 06:59:06 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 57069 invoked by uid 99); 28 Aug 2006 06:59:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 23:59:06 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wiseking.wq@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 23:59:05 -0700 Received: by py-out-1112.google.com with SMTP id x66so6257232pye for ; Sun, 27 Aug 2006 23:58:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BJArScrG3PNn5E9eJkXP7qzIkmuuZqEiVA58L93KDS9+/6K2J7e0aqPNnLaH9GFLdUCMmU3flsM67S4fCBF4V89fm36s7uaDLnGSqxFtOM5ywmz1AlWJY8Szi3aoNzJZYoYYV8VFtqkt1tRf/XYfhh38vbmkSmsujdyHwY1AtZ4= Received: by 10.35.61.2 with SMTP id o2mr11760572pyk; Sun, 27 Aug 2006 23:58:45 -0700 (PDT) Received: by 10.35.66.14 with HTTP; Sun, 27 Aug 2006 23:58:45 -0700 (PDT) Message-ID: <67335d1e0608272358y1a8045fdib58ae38ea3046534@mail.gmail.com> Date: Mon, 28 Aug 2006 14:58:45 +0800 From: "Wang Kevin" To: activemq-dev@geronimo.apache.org Subject: How to send XML based message in AMQ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_215284_17548968.1156748325133" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_215284_17548968.1156748325133 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Gents, I am trying to send XML based message using ActiveMQ, but as I know, I can't find a related method like *createXMLMessage()*. So I think a way is to use TextMessage: firstly, convert xml to string, then send it by TextMessage. Any ideas or example? Thanks a lot! Best Regard! Kevin ------=_Part_215284_17548968.1156748325133--