4 Replies Latest reply on Jun 22, 2007 7:58 AM by dmarchant

    How to use HTTP endpoints with JBOSSESB

    kasunsam

      In content based routing i need to declare a http endpoint to which i can
      forward a message after the filtering. How can i declare it.

        • 1. Re: How to use HTTP endpoints with JBOSSESB
          marklittle

          One of community members is working on HTTP support within the bus (as a transport) at present.

          • 2. Re: How to use HTTP endpoints with JBOSSESB

            One way is to declare an HttpRouter in your configuration.

            Example below:

             <action class="org.jboss.soa.esb.actions.routing.HttpRouter" name="HttpRouter">
             <property name="routeUrl" value="http://localhost:9001/"></property>
             </action>
            


            This will post the message to an http based endpoint.
            Let me know if this doesn't work.

            What is the scenario you are working with that requires the HTTP support?



            • 3. Re: How to use HTTP endpoints with JBOSSESB
              ksenz

              Hi,

              I am too in need of some help regarding http requests. The Scenario is as follows:

              I have to request credit assessment information from different external providers one expects the request information in the simple param=value form the other as an request-xml String within a post request.

              The result of both is an response xml which is currently parsed into an xml document, which is put into a message in a selfwritten action.

              Maybe I'm missing some great features of jboss esb because I just began using it. What would be the recommended way of doing the above?

              k.

              • 4. Re: How to use HTTP endpoints with JBOSSESB

                I take a look at reproducing your scenario on the bus and see what can be done in the this regard.

                Thanks for the scenario this helps a lot.