Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 67724 invoked from network); 7 Dec 2007 11:55:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 11:55:01 -0000 Received: (qmail 37604 invoked by uid 500); 7 Dec 2007 11:54:50 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 37436 invoked by uid 500); 7 Dec 2007 11:54:49 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 37427 invoked by uid 99); 7 Dec 2007 11:54:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 03:54:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish@twcny.rr.com designates 24.24.2.57 as permitted sender) Received: from [24.24.2.57] (HELO ms-smtp-03.nyroc.rr.com) (24.24.2.57) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 11:54:28 +0000 Received: from [192.168.2.40] (cpe-74-71-58-174.twcny.res.rr.com [74.71.58.174]) by ms-smtp-03.nyroc.rr.com (8.13.6/8.13.6) with ESMTP id lB7BsPSr016120 for ; Fri, 7 Dec 2007 06:54:26 -0500 (EST) Message-ID: <47593471.7020601@twcny.rr.com> Date: Fri, 07 Dec 2007 06:54:25 -0500 From: Timothy Bish User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: dev@activemq.apache.org Subject: Re: ActiveMQ CMS Exception References: <14209269.post@talk.nabble.com> In-Reply-To: <14209269.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org ActiveMQ CPP does not support the Unicode character set currently. Regards Tim. Hsiao wrote: > In vs2005-activemq-example project, when I set message property with chinese > language, such as below: > MapMessage* message = session->createMapMessage( ); > message->setString("myKey", text); //add 1 > > message->setStringProperty( "myPropertyKey", "Hello, 世界" ); > //add 2 > > // Tell the producer to send the message > printf( "Sent message #%d from thread %s\n", ix+1, > threadIdStr.c_str() ); > producer->send( message ); > > when I add 1 and run ,the consumer can receive the MapMessage, but can't > getString("myKey") value > when I add 2 and run ,show "JMS Exception occured. Shutting down client." > > Does I use error or AMQ not support Chinese language fully. > > Envirment: window xp +sp2, vs2005 , activemq-cpp-2.1 >