2 Replies Latest reply on Jul 4, 2008 2:21 PM by mclu

    Bug or feature? Modifying the payload and redelivery...

    mclu

      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