Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3689

http_gateway quickstart doesn't output http request body to console as it should

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 4.10 CP1
    • 4.10 CP1
    • Examples
    • None

    Description

      This minor bug is located in org.jboss.soa.esb.samples.quickstart.httpgateway.MyAction. The process method is defined in following way:

      MyAction.java
      public String printHttpRequestInfo(@BodyParam byte[] httpPayload
      But this way the http body is not extracted from the request. The correct httpPayload type should be String.

      I think it is good to fix this because (unfortunately) this is the only place where @BodyParam anotation is used.

      Attachments

        Issue Links

          Activity

            People

              tcunning@redhat.com Thomas Cunningham
              tcunning@redhat.com Thomas Cunningham
              Archiver:
              ranumula@redhat.com Raju Anumula

              Dates

                Created:
                Updated:
                Resolved:
                Archived: