Package de.gematik.test.tiger
Class LocalProxyRbelMessageListener
- java.lang.Object
-
- de.gematik.test.tiger.LocalProxyRbelMessageListener
-
public class LocalProxyRbelMessageListener extends Object
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
Fields Modifier and Type Field Description static RbelMessageProviderrbelMessageListenersimple implementation of the RBelMessageProvider collecting all messages in two separate lists.static List<de.gematik.rbellogger.data.RbelElement>validatableRbelMessagesList of messages received via local Tiger Proxy.
-
Constructor Summary
Constructors Constructor Description LocalProxyRbelMessageListener()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<de.gematik.rbellogger.data.RbelElement>getValidatableRbelMessages()List of messages received via local Tiger Proxy.
-
-
-
Field Detail
-
validatableRbelMessages
public static final List<de.gematik.rbellogger.data.RbelElement> validatableRbelMessages
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
-
rbelMessageListener
public static final RbelMessageProvider rbelMessageListener
simple implementation of the RBelMessageProvider collecting all messages in two separate lists.
-
-
Method Detail
-
getValidatableRbelMessages
public static List<de.gematik.rbellogger.data.RbelElement> 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
-
-