activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bob.deremer" <>
Subject Is it safe to extend ActiveMQObjectMessage to work-around the default object serialization?
Date Mon, 22 Feb 2010 15:04:45 GMT

Hi AMQ experts,

I posted a question last week, but haven't had any replies yet [
].  As a workaround, I've decided to implement my own ActiveMQ message that
extends ActiveMQObjectMessage.  My goal was to override the default
serialization that is happening when an object message is sent via vm://
transport so that only the object reference is passed around.

Can someone tell me if there are any inherent problems with this?  So far,
my solution seems to be working functionally, but my gut tells me that
there's a lot I am probably not aware of happening inside AMQ(s) message
dispatching.  I've been debugging the AMQ 5.3 source over the past couple
days - which is how I found the issue in the related link.  

Ideally, I'd like to know if what I mention in the other link is a bug, or
if there is a reason ObjectMessage(s) are being serialized - even when I set
the flags to not serialize them.

Thanks for any help/clarification,
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message