|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Dispatcher
Dispatcher is the basic interface for the entry point to route messages through the Stages.
Stage},
EventHandler},
Message}| Method Summary | |
|---|---|
boolean |
execute(Event event)
Routes the Event to the specified Stage executing the associated EventHandler. |
boolean |
execute(String stage,
Message message)
Routes the Message to the specified Stage executing the associated EventHandler. |
String |
getContext()
|
List<Stage> |
getStages()
Gets the configured list of Stages. |
void |
setContext(String context)
This parameter sets a context, to allow different flows running at the same time and it is propagated in logs & JXM metrics. |
void |
setStages(List<Stage> stages)
Stage list of supported flow EventHandler. |
| Methods inherited from interface net.sf.seide.core.Lifecycle |
|---|
isRunning, start, stop |
| Method Detail |
|---|
boolean execute(String stage,
Message message)
throws InvalidStageException
Message to the specified Stage executing the associated EventHandler.
stage - Stage.idmessage - payload.
InvalidStageException
boolean execute(Event event)
throws InvalidStageException
Event to the specified Stage executing the associated EventHandler.
stage - Stage.iddata - payload.
InvalidStageExceptionvoid setStages(List<Stage> stages)
Stage list of supported flow EventHandler.
stages - Stage list.List<Stage> getStages()
Stages.
Stages.String getContext()
void setContext(String context)
context -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||