public class TemporalRule
extends org.apache.camel.support.ServiceSupport
Constructor and Description |
---|
TemporalRule(TimeExpression first,
TimeExpression second) |
Modifier and Type | Method and Description |
---|---|
protected Date |
add(Date date,
long millis)
Returns the date in the future adding the given number of millis
|
protected org.apache.camel.Exchange |
createExchange() |
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.model.OutputDefinition<?> |
errorIfOver(long millis) |
org.apache.camel.model.OutputDefinition<?> |
errorIfOver(org.apache.camel.util.Time builder) |
TemporalRule |
expectWithin(long millis) |
TemporalRule |
expectWithin(org.apache.camel.util.Time builder) |
TimeExpression |
getFirst() |
org.apache.camel.Processor |
getOverdueAction() |
TimeExpression |
getSecond() |
void |
processExchange(org.apache.camel.Exchange exchange,
ProcessInstance instance) |
void |
processExpired(ActivityState activityState) |
public TemporalRule(TimeExpression first, TimeExpression second)
public TemporalRule expectWithin(org.apache.camel.util.Time builder)
public TemporalRule expectWithin(long millis)
public org.apache.camel.model.OutputDefinition<?> errorIfOver(org.apache.camel.util.Time builder)
public org.apache.camel.model.OutputDefinition<?> errorIfOver(long millis)
public TimeExpression getFirst()
public TimeExpression getSecond()
public org.apache.camel.Processor getOverdueAction() throws Exception
Exception
public void processExchange(org.apache.camel.Exchange exchange, ProcessInstance instance)
public void processExpired(ActivityState activityState) throws Exception
Exception
protected org.apache.camel.Exchange createExchange()
protected Date add(Date date, long millis)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.ServiceSupport
Exception
Apache Camel