Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.12.1
-
None
-
Patch Available
-
Unknown
Description
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>