Package org.ikasan.testharness.flow.jms
Class BrowseMessagesOnQueueVerifier
- java.lang.Object
-
- org.ikasan.testharness.flow.jms.BrowseMessagesOnQueueVerifier
-
- All Implemented Interfaces:
java.lang.Runnable
public class BrowseMessagesOnQueueVerifier extends java.lang.Object implements java.lang.RunnableSimilar to MessageListenerVerifier but does not create a JMS consumer instead only browses the contents of queues. This can only be used with queues NOT topics. Should be used when tests are run to share the same spring boot context as MessageListenerVerifier can block consumption by subsequent flows downstream of the destination it was listening on.
-
-
Constructor Summary
Constructors Constructor Description BrowseMessagesOnQueueVerifier(java.lang.String brokerUrl, java.lang.String destinationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>getCaptureResults()voidrun()voidstart()voidstop()
-