Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 5704 invoked from network); 3 Aug 2006 17:15:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 17:15:46 -0000 Received: (qmail 37805 invoked by uid 500); 3 Aug 2006 17:15:45 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 37621 invoked by uid 500); 3 Aug 2006 17:15:45 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 37611 invoked by uid 99); 3 Aug 2006 17:15:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 10:15:45 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chirino@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 10:15:42 -0700 Received: by ug-out-1314.google.com with SMTP id m2so2609604uge for ; Thu, 03 Aug 2006 10:15:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FT5xAabP1YveQwmGqNQb6XNEp9jDyDkDXd59UsYSCOaUV3wFRCoEDObJlC6JdpFfGExXuPXE1h0f1G9BFowpJx5KvzUs1cWJnmRAWF2MYx9wYBkcwTCNxhkjhGBotEXEfIVSIRoaieMepsv73ubp2RjrhseG14dMHCXCGWPCkRQ= Received: by 10.67.89.5 with SMTP id r5mr3099702ugl; Thu, 03 Aug 2006 10:15:21 -0700 (PDT) Received: by 10.66.243.7 with HTTP; Thu, 3 Aug 2006 10:15:21 -0700 (PDT) Message-ID: Date: Thu, 3 Aug 2006 13:15:21 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: Extra Spaces in Text Messages received through OpenWire.NET In-Reply-To: <5636231.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5636231.post@talk.nabble.com> X-Google-Sender-Auth: 6473c7b40bff6ff4 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What versions are you using? There was a recent TextMessage fix in the .NET stuff. On 8/3/06, sparky2708 wrote: > > It seems that when I send messages from the example producer in ActiveMQ in > Java by running "ant producer" and try to receive the message in > OpenWire.NET using c# there are a lot of blank spaces that are added to the > message when I receive it. I am just using the example OpenWire.NET client > you provide and the example java classes that you provide. Any idea why > there are so many spaces added? My C# code looks like: > > private IMessageConsumer _consumer; > public string Receive() > { > IMessage message = _consumer.Receive(); > if (message == null) > return null; > else > return ((ITextMessage) message).Text; > } > -- > View this message in context: http://www.nabble.com/Extra-Spaces-in-Text-Messages-received-through-OpenWire.NET-tf2046718.html#a5636231 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com