Package org.citrusframework.condition
Class MessageCondition
java.lang.Object
org.citrusframework.condition.AbstractCondition
org.citrusframework.condition.MessageCondition
- All Implemented Interfaces:
Condition
Condition checks whether a message is present in test context message store. Messages are automatically
stored in that store when sending and receiving messages with respective test actions. So this condition
can be used to wait for a message to arrive or being sent out.
Message to check is identified by its name in the message store.
- Since:
- 2.6.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetErrorMessage(TestContext context) Gets the value of the messageName property.getSuccessMessage(TestContext context) booleanisSatisfied(TestContext context) voidsetMessageName(String messageName) Sets the messageName property.toString()Methods inherited from class org.citrusframework.condition.AbstractCondition
getName
-
Constructor Details
-
MessageCondition
public MessageCondition()
-
-
Method Details