Re: HOW TO: confirm copyMessageOnSend is working???

2010-02-17 Thread Gary Tully
no problem, glad you got sorted. On 16 February 2010 18:32, bob.deremer bob.dere...@burningskysoftware.comwrote: Sorry for not posting this update sooner... I managed to figure out what is going on by downloading the 5.3.0 source code and digging into the ActiveMQConnection and Session

HOW TO: confirm copyMessageOnSend is working???

2010-02-16 Thread bob.deremer
Hi all ActiveMQ gurus, BACKGROUND: I'm using AMQ 5.3 with the local vm:// transport and wish to make use of the copyMessageOnSend = FALSE convention to send my messages by reference [instead of by value]. Given the dynamic nature of our ObjectMessage-based messages and varying size of the

Re: HOW TO: confirm copyMessageOnSend is working???

2010-02-16 Thread Gary Tully
have you set: factory.setObjectMessageSerializationDefered(true); http://activemq.apache.org/how-should-i-use-the-vm-transport.html On 16 February 2010 16:49, bob.deremer bob.dere...@burningskysoftware.comwrote: Hi all ActiveMQ gurus, BACKGROUND: I'm using AMQ 5.3 with the local vm://

Re: HOW TO: confirm copyMessageOnSend is working???

2010-02-16 Thread bob.deremer
Sorry for not posting this update sooner... I managed to figure out what is going on by downloading the 5.3.0 source code and digging into the ActiveMQConnection and Session classes. I can see that the object being set as the payload of an ObjectMessage must have the Serializable tag interface.