Package de.gematik.test.tiger
Class LocalProxyRbelMessageListener
java.lang.Object
de.gematik.test.tiger.LocalProxyRbelMessageListener
This class links the local Tiger Proxy with the glue code / test suite.
Provides and Manages a NON thread safe RbelMessageProvider with three lists. One for reuse by Tiger validation steps, one for messages being associated with the current test step, used by the Workflow UI and one internal for later usage.
ATTENTION! As of now Tiger does not support collecting Rbel messages in a "thread safe" way, so that messages sent in parallel test execution scenarios are tracked. If you do run Tiger in parallel test execution, you must deal with concurrency of RBel messages yourself.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RbelMessageProvidersimple implementation of the RBelMessageProvider collecting all messages in two separate lists. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
rbelMessageListener
simple implementation of the RBelMessageProvider collecting all messages in two separate lists.
-
-
Constructor Details
-
LocalProxyRbelMessageListener
public LocalProxyRbelMessageListener()
-
-
Method Details
-
getMessages
-
getStepRbelMessages
-
getValidatableRbelMessages
List of messages received via local Tiger Proxy. You may clear/manipulate this list if you know what you do. It is used by the TGR validation steps. The list is not cleared at the end of / start of new scenarios! TODO add test to ensure this statement
-