Class 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 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.
    • Constructor Detail

      • LocalProxyRbelMessageListener

        public LocalProxyRbelMessageListener()
    • Method Detail

      • getMessages

        public static List<de.gematik.rbellogger.data.RbelElement> getMessages()
      • getStepRbelMessages

        public static List<de.gematik.rbellogger.data.RbelElement> getStepRbelMessages()
      • 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