Class RestProducerFactoryHelper


  • public final class RestProducerFactoryHelper
    extends Object
    Helper for creating configured Components used by the RestProducerFactory contract. When RestProducerFactory contract is used it could instantiate, start and register the underlying component. During this process we have no way of configuring component properties, most notably the SSL properties.
    • Method Detail

      • setupComponentFor

        public static void setupComponentFor​(String url,
                                             org.apache.camel.CamelContext camelContext,
                                             Map<String,​Object> componentProperties)
                                      throws Exception
        Throws:
        Exception
      • setupComponent

        public static org.apache.camel.Component setupComponent​(String componentName,
                                                                org.apache.camel.CamelContext camelContext,
                                                                Map<String,​Object> componentProperties)
                                                         throws Exception
        Throws:
        Exception