Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10391

Spring Boot JPA + JMS + XA transaction regression redelivery test doesn't work without modification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • fuse-7.3
    • fuse-7.3
    • None
    • % %
    • Hide

      1. Configure MSSQL and AMQ 7.2 in application.properties
      2. mvn clean install && mvn spring-boot:run
      3. After startup invoke curl from CMD:

      curl -w "\n" -X POST 'http://localhost:8080/api/xa?entry=1234'  
      

      4. You will see the error

      Show
      1. Configure MSSQL and AMQ 7.2 in application.properties 2. mvn clean install && mvn spring-boot:run 3. After startup invoke curl from CMD: curl -w "\n" -X POST 'http: //localhost:8080/api/xa?entry=1234' 4. You will see the error

    Description

      I am not able to migrate integration scenario in Spring Boot - XA transactions, JPA, JMS and redelivery mode. I think it is a configuration problem of hibernate. A lot of components has changed in Fuse 7.3, because of the alignment of hibernate between BOMs, snowdrop dependency management added into spring boot BOM.

      I've added reproducer and I will keep working on the solution to get it working again.

      The scenario should work like this:
      1. First time the message is consumed from JMS queu1, then sent into database and another JMS queue2, the message will be rollbacked by intentional exception.
      2. When the message comes in second time from JMS queue1 with flagged redelivered=true, the message is not saved successfully into DB and JMS queue2.

      Attachments

        Activity

          People

            zfeng@redhat.com Zheng Feng
            vkasala@redhat.com Viliam Kasala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: