activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Pederzolli <>
Subject NotSerializableException
Date Mon, 25 Sep 2006 15:39:29 GMT

Hi -

I am getting a NotSerializableException when I attempt to put an object on a
JMS queue with version 4.0.1. I am using the VM transport configured as

	<bean id="connectionFactory"
		<property name="connectionFactory">
			<bean class="org.apache.activemq.ActiveMQConnectionFactory">
				<property name="brokerURL" value="vm://localhost" />
				<property name="useAsyncSend" value="true" />
				<property name="asyncDispatch" value="true" />
				<property name="optimizeAcknowledge" value="true" />
				<property name="optimizedMessageDispatch" value="true" />
				<property name="objectMessageSerializationDefered" value="true" />
				<property name="copyMessageOnSend" value="false" />
				<property name="redeliveryPolicy">
					<bean class="org.apache.activemq.RedeliveryPolicy">
						<property name="backOffMultiplier" value="2" />
						<property name="initialRedeliveryDelay" value="5000" />
						<property name="maximumRedeliveries" value="100" />
						<property name="useExponentialBackOff" value="true" />

I was under the impression that no serialization occured when using the VM
transport and setting the objectMessageSerializationDefered property to true
- is this not the case? Thanks for any help.

- John
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message