[ https://issues.apache.org/jira/browse/CAMEL-9996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Poth updated CAMEL-9996: ----------------------------- Description: Resolve RestConsumerFactory and RestApiConsumerFactory as Camel Components first as all implementations are Camel Components. This will also avoid [NullPointerExceptions|https://github.com/apache/camel/blob/master/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java#L1044] when users misconfigure their rest factories directly through the component and not through the rest configuration. (was: All the implementations of RestConsumerFactorys/RestApiConsumerFactorys are Camel Components. All implementations assume that they are initiated as a Component and will mix ) > Resolve RestConsumerFactory and RestApiConsumerFactory as Camel Components > first > -------------------------------------------------------------------------------- > > Key: CAMEL-9996 > URL: https://issues.apache.org/jira/browse/CAMEL-9996 > Project: Camel > Issue Type: Bug > Components: camel-jetty, camel-netty-http, camel-netty4-http, > camel-restlet, camel-servlet, camel-undertow > Reporter: John Poth > Assignee: John Poth > Priority: Minor > Fix For: 2.18.0 > > > Resolve RestConsumerFactory and RestApiConsumerFactory as Camel Components > first as all implementations are Camel Components. This will also avoid > [NullPointerExceptions|https://github.com/apache/camel/blob/master/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java#L1044] > when users misconfigure their rest factories directly through the component > and not through the rest configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)