You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Hiram Chirino <hi...@hiramchirino.com> on 2006/07/11 17:42:10 UTC
Should we add large String value support in MapMessage in 4.0.2 ?? re: AMQ-788
Hi Folks.
In 4.1 we added a patch that add support of handling large string values ( >
32k ) in map messages. See:
http://issues.apache.org/activemq/browse/AMQ-788
I just wanted to see if you guys think we should backport that to 4.0.2also?
The only down side is that a slight incompatibility in marshaling is
introduced. It only affect messages that use string values > 8k. With the
patch once a string value is > 8k, we now use a different marshaling
strategy that allow for marshaling String values up to 2 gigs. So if you
have <= 4.0.1 clients talking to 4.0.2 clients sending map messages with
String values > 8k then the <= 4.0.1 clients may not be able handle the
messages from the 4.0.2 clients.
I think it's safe enough to add since we did not support large messages
anyways in 4.0.1.
--
Regards,
Hiram
Blog: http://hiramchirino.com
Re: Should we add large String value support in MapMessage in 4.0.2 ?? re: AMQ-788
Posted by James Strachan <ja...@gmail.com>.
Great!
Must be nearly time to cut a 4.0.2 release :)
On 7/14/06, Hiram Chirino <hi...@hiramchirino.com> wrote:
> Ok. look like there was not too much opposition to backporting this so..
> I'll go ahead and do it later today.
>
> On 7/11/06, Rob Davies <ra...@gmail.com> wrote:
> >
> > +1 - sounds good to me
> > On 11 Jul 2006, at 16:42, Hiram Chirino wrote:
> >
> > > Hi Folks.
> > >
> > > In 4.1 we added a patch that add support of handling large string
> > > values ( >
> > > 32k ) in map messages. See:
> > > http://issues.apache.org/activemq/browse/AMQ-788
> > >
> > > I just wanted to see if you guys think we should backport that to
> > > 4.0.2also?
> > >
> > > The only down side is that a slight incompatibility in marshaling is
> > > introduced. It only affect messages that use string values > 8k.
> > > With the
> > > patch once a string value is > 8k, we now use a different marshaling
> > > strategy that allow for marshaling String values up to 2 gigs. So
> > > if you
> > > have <= 4.0.1 clients talking to 4.0.2 clients sending map messages
> > > with
> > > String values > 8k then the <= 4.0.1 clients may not be able handle
> > > the
> > > messages from the 4.0.2 clients.
> > >
> > > I think it's safe enough to add since we did not support large
> > > messages
> > > anyways in 4.0.1.
> > >
> > > --
> > > Regards,
> > > Hiram
> > >
> > > Blog: http://hiramchirino.com
> >
> >
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
>
--
James
-------
http://radio.weblogs.com/0112098/
Re: Should we add large String value support in MapMessage in 4.0.2 ?? re: AMQ-788
Posted by Hiram Chirino <hi...@hiramchirino.com>.
Ok. look like there was not too much opposition to backporting this so..
I'll go ahead and do it later today.
On 7/11/06, Rob Davies <ra...@gmail.com> wrote:
>
> +1 - sounds good to me
> On 11 Jul 2006, at 16:42, Hiram Chirino wrote:
>
> > Hi Folks.
> >
> > In 4.1 we added a patch that add support of handling large string
> > values ( >
> > 32k ) in map messages. See:
> > http://issues.apache.org/activemq/browse/AMQ-788
> >
> > I just wanted to see if you guys think we should backport that to
> > 4.0.2also?
> >
> > The only down side is that a slight incompatibility in marshaling is
> > introduced. It only affect messages that use string values > 8k.
> > With the
> > patch once a string value is > 8k, we now use a different marshaling
> > strategy that allow for marshaling String values up to 2 gigs. So
> > if you
> > have <= 4.0.1 clients talking to 4.0.2 clients sending map messages
> > with
> > String values > 8k then the <= 4.0.1 clients may not be able handle
> > the
> > messages from the 4.0.2 clients.
> >
> > I think it's safe enough to add since we did not support large
> > messages
> > anyways in 4.0.1.
> >
> > --
> > Regards,
> > Hiram
> >
> > Blog: http://hiramchirino.com
>
>
--
Regards,
Hiram
Blog: http://hiramchirino.com
Re: Should we add large String value support in MapMessage in 4.0.2 ?? re: AMQ-788
Posted by Rob Davies <ra...@gmail.com>.
+1 - sounds good to me
On 11 Jul 2006, at 16:42, Hiram Chirino wrote:
> Hi Folks.
>
> In 4.1 we added a patch that add support of handling large string
> values ( >
> 32k ) in map messages. See:
> http://issues.apache.org/activemq/browse/AMQ-788
>
> I just wanted to see if you guys think we should backport that to
> 4.0.2also?
>
> The only down side is that a slight incompatibility in marshaling is
> introduced. It only affect messages that use string values > 8k.
> With the
> patch once a string value is > 8k, we now use a different marshaling
> strategy that allow for marshaling String values up to 2 gigs. So
> if you
> have <= 4.0.1 clients talking to 4.0.2 clients sending map messages
> with
> String values > 8k then the <= 4.0.1 clients may not be able handle
> the
> messages from the 4.0.2 clients.
>
> I think it's safe enough to add since we did not support large
> messages
> anyways in 4.0.1.
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com