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

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 5.9.8.Final
    • 5.10.0.Final
    • LRA
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: