Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3791

REST-AT SRAClient can read a JAX-RS response entity twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Final
    • 6.0.1.Final
    • REST
    • None

      The new client side support for REST-AT annotations can read the JAX-RS response entity twice but reading the entity body closes the connection so reading it again throws an exception.

      The offending code is https://github.com/jbosstm/narayana/blob/main/rts/at/tx/src/main/java/org/jboss/jbossts/star/client/SRAClient.java#L551C1-L554  notice that it is read again in the trace statement.

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: