@UriEndpoint(firstVersion="2.14.0",
scheme="facebook",
title="Facebook",
syntax="facebook:methodName",
category=SOCIAL)
public class FacebookEndpoint
extends org.apache.camel.support.DefaultEndpoint
implements FacebookConstants
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDINGFACEBOOK_DATE_FORMAT, FACEBOOK_PROPERTY_PREFIX, FACEBOOK_THREAD_PROFILE_NAME, RAW_JSON_HEADER, READING_PREFIX, READING_PROPERTY| Constructor and Description |
|---|
FacebookEndpoint(String uri,
FacebookComponent facebookComponent,
String remaining,
FacebookEndpointConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureProperties(Map<String,Object> options) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
List<FacebookMethodsType> |
getCandidates() |
FacebookEndpointConfiguration |
getConfiguration() |
String |
getInBody() |
String |
getMethod() |
FacebookNameStyle |
getNameStyle() |
void |
setConfiguration(FacebookEndpointConfiguration configuration)
Sets the
FacebookEndpointConfiguration to use |
void |
setInBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body
|
configureConsumer, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic FacebookEndpoint(String uri, FacebookComponent facebookComponent, String remaining, FacebookEndpointConfiguration configuration) throws org.apache.camel.NoTypeConversionAvailableException
org.apache.camel.NoTypeConversionAvailableExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic void configureProperties(Map<String,Object> options)
configureProperties in interface org.apache.camel.EndpointconfigureProperties in class org.apache.camel.support.DefaultEndpointpublic FacebookEndpointConfiguration getConfiguration()
public List<FacebookMethodsType> getCandidates()
public String getInBody()
public String getMethod()
public FacebookNameStyle getNameStyle()
public void setInBody(String inBody)
public void setConfiguration(FacebookEndpointConfiguration configuration)
FacebookEndpointConfiguration to useconfiguration - the FacebookEndpointConfiguration to useApache Camel