|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageSelectorCommand
The interface that must be implemented by message selector commands
From a testspec: <message-selector name="MyMessageSelector" command="java:class that implements the MessageSelectorCommand interface"/>
| Method Summary | |
|---|---|
boolean |
isAcceptableMessage(Message message)
The method invoked by the testrunner to build the messgte. |
void |
setParams(java.util.List<java.lang.String> params)
This method is ivoked by the test runner before selector is passed to the message broker during subscribe |
| Method Detail |
|---|
void setParams(java.util.List<java.lang.String> params)
throws MactorException
params - the list of parameteres specifed for the given node in the
test-spec xml (after the ##{...} substitution has been
performed)
MactorException - if some problem occured (this will cause the test to fail)
boolean isAcceptableMessage(Message message)
throws MactorException
context - contains information about the context of the test that might
be useful (such as all messages sent/received so far in the
test)
MactorException - if some problem occured (this exception is logged and
ignored)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||