camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6822) camel-facebook - Error when calling endpoint with options from header and configuration bean
Date Mon, 07 Oct 2013 16:50:42 GMT

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

Mime
View raw message