Interface HttpProxyService

All Known Implementing Classes:
HttpProxyServiceImpl

public interface HttpProxyService
Http Proxy service which creates a Camel based http proxy
  • Method Summary

    Modifier and Type
    Method
    Description
    start(String targetUri, Integer timeout)
    Creates and starts a proxy given only a target Uri.
    start(String endpointName, String targetUri, Integer timeout)
    Creates and starts a proxy given an endpoint name and target Uri.
    void
    stop(String endpointName)
    Stops and destroys the proxy.
  • Method Details

    • start

      String start(String targetUri, Integer timeout) throws Exception
      Creates and starts a proxy given only a target Uri. Generated Endpoint name will be returned.
      Parameters:
      targetUri -
      timeout - - in milliseconds
      Returns:
      Throws:
      Exception
    • start

      String start(String endpointName, String targetUri, Integer timeout) throws Exception
      Creates and starts a proxy given an endpoint name and target Uri. Endpoint name will be returned.
      Parameters:
      endpointName -
      targetUri -
      timeout - - in milliseconds
      Returns:
      Throws:
      Exception
    • stop

      void stop(String endpointName) throws Exception
      Stops and destroys the proxy.
      Parameters:
      endpointName -
      Throws:
      Exception