You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/10/07 18:50:42 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 ]
Claus Ibsen updated CAMEL-6822:
-------------------------------
Priority: Minor (was: Major)
Summary: camel-facebook - Error when calling endpoint with options from header and configuration bean (was: Error when calling endpoint with options from header and configuration bean)
> 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.12.2, 2.13.0
>
> 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)