You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/30 12:05:13 UTC

[jira] [Commented] (CAMEL-9996) Resolve RestConsumerFactory and RestApiConsumerFactory as Camel Components first

    [ https://issues.apache.org/jira/browse/CAMEL-9996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306574#comment-15306574 ] 

ASF GitHub Bot commented on CAMEL-9996:
---------------------------------------

GitHub user johnpoth opened a pull request:

    https://github.com/apache/camel/pull/1005

    CAMEL-9996: Resolve RestComsumerFactory and RestApiConsumerFactory as…

    … Camel Components first
    
    https://issues.apache.org/jira/browse/CAMEL-9996

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/johnpoth/camel CAMEL-9996

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1005.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1005
    
----
commit 66468c902bfdacebe97baeb2357dff540491e4b7
Author: jpoth <jp...@redhat.com>
Date:   2016-05-30T10:56:03Z

    CAMEL-9996: Resolve RestComsumerFactory and RestApiConsumerFactory as Camel Components first

----


> 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)