[jboss-user] [JBoss Messaging Users] - Mutable Objects inside ObjectMessage and rollback behaviour.
do-not-reply at jboss.com
Tue Oct 27 11:03:07 EDT 2009
with JBM shipped with JBossAS 5.1.0, i suspect that ObjectMessage body instances are cached.
In a transaction I modify my object issued from ObjectMessage.getObject(), then something goes wrong and I do rollback on the JMS session.
When the broker send the message a second time I get the same instance as the first failed receive with modifications made on my object in the previous failed transaction, It is not what I expect.
So my question is : is this normal behaviour?
Can I disable this cache and have everything rollbacked and my object deserialized again?
Thank you for your help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262445#4262445
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262445
More information about the jboss-user