You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2013/11/18 02:04:17 UTC

[jira] [Updated] (CAMEL-6822) camel-facebook - Error when calling endpoint with options from header and configuration bean

     [ https://issues.apache.org/jira/browse/CAMEL-6822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-6822:
-----------------------------------

    Fix Version/s:     (was: 2.12.2)
                   2.12.3

> camel-facebook - Error when calling endpoint with options from header and configuration bean
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6822
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6822
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-facebook
>    Affects Versions: 2.12.1
>            Reporter: Emilien
>            Priority: Minor
>             Fix For: 2.13.0, 2.12.3
>
>         Attachments: camel.patch
>
>
> When the camel-facebook endpoint is called with a set of options from headers and configuration bean, an NPE is throwed.
> Here an example route :
> <bean id="facebook" class="org.apache.camel.component.facebook.config.FacebookConfiguration">
>   <property name="oAuthAppId" value="**********"/>
>   <property name="oAuthAppSecret" value="******************"/>
> </bean>
> <route id="consumeFacebookPage">
>          <from uri="direct:consumeFacebookPage"/>
>          <setHeader headerName="CamelFacebook.query">
>           <simple>SELECT page_id FROM page WHERE name='Apache Camel'</simple>
>          </setHeader>
>                  
>          <to uri="facebook://executeFQL"/>
> </route>



--
This message was sent by Atlassian JIRA
(v6.1#6144)