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
follows:
<bean id="connectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory">
<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" />
</bean>
</property>
</bean>
</property>
</bean>
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:
http://www.nabble.com/NotSerializableException-tf2332387.html#a6489037
Sent from the ActiveMQ - User mailing list archive at Nabble.com.