Package org.jboss.soa.esb.actions.routing.http

Examples of org.jboss.soa.esb.actions.routing.http.HttpRouter


        tree.setAttribute("endpointUrl", "http://127.0.0.1:8080/esb-echo");
        tree.setAttribute("method", "post");
        tree.setAttribute("unwrap", "false");
        tree.setAttribute("MappedHeaderList", "SOAPAction, Content-Type, Accept, If-Modified-Since");
       
        HttpRouter router = new HttpRouter(tree);
        Message message = MessageFactory.getInstance().getMessage(type);
        message.getBody().add("bar");

        Message response = router.process(message);
        String responseBody = (String)response.getBody().get();
        String responseStr = null;
        if (deserialize)
            responseStr = Encoding.decodeToObject(responseBody).toString();
        else
View Full Code Here


        skip_child.setAttribute("name", name + ".skip");
        skip_child.setAttribute("value", "true");
      }
    }
   
    httpRouter = new HttpRouter(cloned_config) {
      @Override
      public MessagePayloadProxy getPayloadProxy() {
        return payloadProxy;
      }
    };
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.actions.routing.http.HttpRouter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.