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

Add MessageBodyWriter for ParticipantStatus and application/octet-stream media type

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.10.0.Final
    • 5.9.8.Final
    • LRA
    • None

      application/octet-stream is the default media type in RESTEasy which is used when @Produces value is not specified. We are always expecting String values from LRA participant methods so instead of requiring @Produces(MediaType.TEXT_PLAIN) on each @Compensate, @Complete, @Status, etc. methods we can include MessageBodyWriter<ParticipantStatus> implementation in narayana-lra module which will just transform ParticipantStatus value to String.

              mstefank Martin Stefanko
              mstefank Martin Stefanko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: