activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Extra Spaces in Text Messages received through OpenWire.NET
Date Thu, 03 Aug 2006 17:15:21 GMT
What versions are you using?  There was a recent TextMessage fix in
the .NET stuff.

On 8/3/06, sparky2708 <daa82@columbia.edu> 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

Mime
View raw message