5 Replies Latest reply on Nov 9, 2008 9:05 AM by marklittle

    http-listener?

    dfry-redhat

      Is there a http-listener gateway included in jboss-esb distribution? I would like to have jboss-esb listen to http traffic in and pull the payload of the http post, apply a tranform and route to a jms destination. Do I need to build my own listener?

        • 1. Re: http-listener?
          burrsutter

          Check out the webservice_producer quickstart.

          It doesn't require that SOAP be the payload. The actual endpoint is HTTP and handles POSTs.

          Perhaps that will get you going in the right direction.

          Burr

          • 2. Re: http-listener?
            dfry-redhat

            Thanks Burr, that's what i was looking for.

            Cheers
            David

            • 3. Re: http-listener?
              wili

              Question about old post !

               <listeners>
               <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
               <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
              </listeners>
              


              A simple http-request http://127.0.0.1:8766?param=xxx1&param2=xxx2 lets JBossESB create an ESB message with the payload param=xxx1&param2=xxx2. Do I have to do StringOperations to retrieve the ParameterValues or is there a more convenient way?



              • 4. Re: http-listener?

                Is there a way to control the context path? Probably not but just wondering if we could make it:

                http://127.0.0.1:8766/service-being-emulated/operation-being-emulated?param=xxx1&param2=xxx2

                We're trying to intercept from an existing application and augment the response. The current clients expect to access the service and operation at this endpoint

                • 5. Re: http-listener?
                  marklittle

                  More of an FYI than anything else, but we are working on changes to HTTP support in general. Whether or not they make it into the next release is something we are discussing at the moment.