|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.step.AbstractStep
org.springframework.batch.integration.job.MessageOrientedStep
public class MessageOrientedStep
| Field Summary | |
|---|---|
static java.lang.String |
WAITING
Key in execution context for flag to say we are waiting. |
| Constructor Summary | |
|---|---|
MessageOrientedStep()
|
|
| Method Summary | |
|---|---|
protected void |
doExecute(org.springframework.batch.core.StepExecution stepExecution)
|
void |
setExecutionTimeout(long executionTimeout)
Public setter for the execution timeout in milliseconds. |
void |
setExecutionTimeoutMinutes(int executionTimeoutMinutes)
Public setter for the execution timeout in minutes. |
void |
setInputChannel(org.springframework.integration.channel.PollableChannel source)
Public setter for the source. |
void |
setOutputChannel(org.springframework.integration.core.MessageChannel outputChannel)
Public setter for the target. |
void |
setPollingInterval(long pollingInterval)
Public setter for the polling interval in milliseconds while waiting for replies signalling the end of the step. |
| Methods inherited from class org.springframework.batch.core.step.AbstractStep |
|---|
afterPropertiesSet, close, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WAITING
| Constructor Detail |
|---|
public MessageOrientedStep()
| Method Detail |
|---|
public void setExecutionTimeoutMinutes(int executionTimeoutMinutes)
executionTimeoutMinutes - the timeout to setpublic void setExecutionTimeout(long executionTimeout)
executionTimeout - public void setPollingInterval(long pollingInterval)
pollingInterval - the polling interval to setpublic void setOutputChannel(org.springframework.integration.core.MessageChannel outputChannel)
outputChannel - the target to setpublic void setInputChannel(org.springframework.integration.channel.PollableChannel source)
source - the source to set
protected void doExecute(org.springframework.batch.core.StepExecution stepExecution)
throws org.springframework.batch.core.JobInterruptedException,
org.springframework.batch.core.UnexpectedJobExecutionException
doExecute in class org.springframework.batch.core.step.AbstractSteporg.springframework.batch.core.JobInterruptedException
org.springframework.batch.core.UnexpectedJobExecutionExceptionAbstractStep.execute(StepExecution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||