@UriEndpoint(scheme="yammer", consumerClass=YammerMessagePollingConsumer.class) public class YammerEndpoint extends ScheduledPollEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
YammerEndpoint() |
YammerEndpoint(java.lang.String uri,
YammerComponent component) |
YammerEndpoint(java.lang.String uri,
YammerComponent yammerComponent,
YammerConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
|
protected java.lang.String |
createEndpointUri()
A factory method to lazily create the endpointUri if none is specified
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint
|
YammerConfiguration |
getConfig() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
void |
setConfig(YammerConfiguration config) |
configurePollingConsumer, configureProperties, configureScheduledPollConsumerPropertiesconfigureConsumer, createEndpointConfiguration, 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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic YammerEndpoint()
public YammerEndpoint(java.lang.String uri,
YammerComponent component)
public YammerEndpoint(java.lang.String uri,
YammerComponent yammerComponent,
YammerConfiguration config)
public Producer createProducer() throws java.lang.Exception
Endpointjava.lang.Exception - can be thrownpublic Consumer createConsumer(Processor processor) throws java.lang.Exception
Endpointprocessor - the given processorjava.lang.Exception - can be thrownpublic boolean isSingleton()
IsSingletonpublic YammerConfiguration getConfig()
public void setConfig(YammerConfiguration config)
protected java.lang.String createEndpointUri()
DefaultEndpointcreateEndpointUri in class DefaultEndpointCopyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.