You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jim Gomes (JIRA)" <ji...@apache.org> on 2009/02/17 20:28:59 UTC
[jira] Resolved: (AMQNET-128) Writing large string to message queue
object throws IOException("Cannot marshall string longer than:
"+short.MaxValue+" characters, supplied steing was: "+text.Length+"
characters")
[ https://issues.apache.org/activemq/browse/AMQNET-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Gomes resolved AMQNET-128.
------------------------------
Resolution: Fixed
I applied the patch submitted by Jan, but made a few minor changes to it. I removed the generic list enumeration to increase the compatibility with .NET 1.1. I like using generics, but chose to forgo it is this instance to make the code cleaner and not force a bunch of compiler directives to be added.
> Writing large string to message queue object throws IOException("Cannot marshall string longer than: "+short.MaxValue+" characters, supplied steing was: "+text.Length+" characters")
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQNET-128
> URL: https://issues.apache.org/activemq/browse/AMQNET-128
> Project: ActiveMQ .Net
> Issue Type: Bug
> Components: ActiveMQ Client
> Affects Versions: 1.0, 1.1
> Reporter: Jan Willem
> Assignee: Jim Gomes
> Fix For: 1.1
>
> Attachments: OpenWireBinaryWriter.cs, OpenWireBinaryWriter.patch.patch
>
>
> Writing large string to message queue object throws IOException("Cannot marshall string longer than: "+short.MaxValue+" characters, supplied steing was: "+text.Length+" characters")
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.