|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<BeanExchange>
org.apache.camel.component.timer.TimerEndpoint
public class TimerEndpoint
Represents a timer endpoint that can generate periodic inbound PojoExchanges.
Constructor Summary | |
---|---|
TimerEndpoint(String fullURI,
TimerComponent component,
String timerPartURI)
|
Method Summary | |
---|---|
Consumer<BeanExchange> |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
BeanExchange |
createExchange()
Create a new exchange for communicating with this endpoint |
Producer<BeanExchange> |
createProducer()
Creates a new producer which is used send messages into the endpoint |
TimerComponent |
getComponent()
|
long |
getDelay()
|
long |
getPeriod()
|
Date |
getTime()
|
String |
getTimerName()
|
boolean |
isDaemon()
|
boolean |
isFixedRate()
|
boolean |
isSingleton()
Returns if the endpoint should be a CamelContext singleton. |
void |
setDaemon(boolean daemon)
|
void |
setDelay(long delay)
|
void |
setFixedRate(boolean fixedRate)
|
void |
setPeriod(long period)
|
void |
setTime(Date time)
|
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimerEndpoint(String fullURI, TimerComponent component, String timerPartURI) throws URISyntaxException
URISyntaxException
Method Detail |
---|
public Producer<BeanExchange> createProducer() throws Exception
Endpoint
Exception
public Consumer<BeanExchange> createConsumer(Processor processor) throws Exception
Endpoint
Exception
public BeanExchange createExchange()
Endpoint
public TimerComponent getComponent()
getComponent
in class DefaultEndpoint<BeanExchange>
public String getTimerName()
public boolean isDaemon()
public void setDaemon(boolean daemon)
public long getDelay()
public void setDelay(long delay)
public boolean isFixedRate()
public void setFixedRate(boolean fixedRate)
public long getPeriod()
public void setPeriod(long period)
public Date getTime()
public void setTime(Date time)
public boolean isSingleton()
Endpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |