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

TXFramework enlists with invalid url if @Path is used on a service request method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • 5.0.0.M5
    • None
    • Compensations
    • None
    • Workaround Exists
    • Hide

      Omit the @Path annotation from service request methods.

      Show
      Omit the @Path annotation from service request methods.

    Description

      For this interface:

      @Path("/taxi")
      public interface TaxiServiceAT {
      
          @POST
          @Produces("text/plain")
          @Path("makeBooking")
          public Response makeBooking();
      }
      

      the following enlist url is created:

      http://localhost:8080/test/taxi/makeBooking0_ffffc0a80068_2a160422_4fe20541_179/28/terminate

      The addition of the '/makeBooking' fragment breaks the url pattern expected by the participant endpoint (@Path("

      {txid}

      /

      {pId}

      /terminate")) and messages from the coordinator are ignored.

      Attachments

        Activity

          People

            paul.robinson@redhat.com Paul Robinson
            paul.robinson@redhat.com Paul Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: