[jboss-user] [JBoss Messaging] - Bug or feature? Modifying the payload and redelivery...

mclu do-not-reply at jboss.com
Fri Jul 4 09:10:50 EDT 2008


Hi!

Don't know if this is a bug or feature.

I am using a plain consumer (MessageConsumer.receiver(long)) in an transacted session inside a sessionbean. So JTA is used. (1.4.0SP3)

I receive my payload and reuse it in my backend. There it fills a List with other objects.
Then I rollback my transaction or throw an runtime exception.
My database instance increases the delivery_count and the message is received again in a new transaction. 

I expect a new payload object but no, its the already changed one.
Is this a bug or a feature? What says the spec?
:-)

Greets


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162554#4162554

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162554



More information about the jboss-user mailing list