[
https://issues.apache.org/jira/browse/CAMEL-9996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Poth updated CAMEL-9996:
-----------------------------
Summary: Use passed in Camel Context in
org.apache.camel.spi.RestConsumerFactory#createConsumer implementations (was:
Resolve RestConsumerFactory and RestApiConsumerFactory as Camel Components
first)
> Use passed in Camel Context in
> org.apache.camel.spi.RestConsumerFactory#createConsumer implementations
> ------------------------------------------------------------------------------------------------------
>
> 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)