org.apache.camel.component.facebook
Class FacebookEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.component.facebook.FacebookEndpoint
All Implemented Interfaces:
org.apache.camel.CamelContextAware, FacebookConstants, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

@UriEndpoint(scheme="facebook",
             consumerClass=FacebookConsumer.class)
public class FacebookEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements FacebookConstants

Represents a Facebook endpoint.


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Fields inherited from interface org.apache.camel.component.facebook.FacebookConstants
FACEBOOK_DATE_FORMAT, FACEBOOK_PROPERTY_PREFIX, FACEBOOK_THREAD_PROFILE_NAME, RAW_JSON_HEADER, READING_PPROPERTY, READING_PREFIX
 
Constructor Summary
FacebookEndpoint(String uri, FacebookComponent facebookComponent, String remaining, FacebookEndpointConfiguration configuration)
           
 
Method Summary
 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 getMethodName()
           
 FacebookNameStyle getNameStyle()
           
 boolean isSingleton()
           
 void setInBody(String inBody)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

FacebookEndpoint

public FacebookEndpoint(String uri,
                        FacebookComponent facebookComponent,
                        String remaining,
                        FacebookEndpointConfiguration configuration)
Method Detail

createProducer

public org.apache.camel.Producer createProducer()
                                         throws Exception
Specified by:
createProducer in interface org.apache.camel.Endpoint
Throws:
Exception

createConsumer

public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
                                         throws Exception
Specified by:
createConsumer in interface org.apache.camel.Endpoint
Throws:
Exception

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.apache.camel.IsSingleton

configureProperties

public void configureProperties(Map<String,Object> options)
Specified by:
configureProperties in interface org.apache.camel.Endpoint
Overrides:
configureProperties in class org.apache.camel.impl.DefaultEndpoint

getConfiguration

public FacebookEndpointConfiguration getConfiguration()

getMethodName

public String getMethodName()

getNameStyle

public FacebookNameStyle getNameStyle()

getCandidates

public List<FacebookMethodsType> getCandidates()

getInBody

public String getInBody()

setInBody

public void setInBody(String inBody)


Apache Camel