Class StoreBackedMessageJournal
java.lang.Object
com.github.tomakehurst.wiremock.verification.StoreBackedMessageJournal
- All Implemented Interfaces:
MessageJournal
- Direct Known Subclasses:
InMemoryMessageJournal
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountEventsMatching(MessagePattern pattern) getEventsMatching(MessagePattern pattern) voidmessageReceived(MessageServeEvent event) voidremoveEvent(UUID eventId) removeEventsForStubsMatchingMetadata(StringValuePattern metadataPattern) removeEventsMatching(MessagePattern pattern) voidreset()waitForEvent(MessagePattern pattern, Duration maxWait) waitForEvents(MessagePattern pattern, int count, Duration maxWait)
-
Field Details
-
store
-
-
Constructor Details
-
StoreBackedMessageJournal
-
-
Method Details
-
countEventsMatching
- Specified by:
countEventsMatchingin interfaceMessageJournal
-
getEventsMatching
- Specified by:
getEventsMatchingin interfaceMessageJournal
-
getAllMessageServeEvents
- Specified by:
getAllMessageServeEventsin interfaceMessageJournal
-
getMessageServeEvent
- Specified by:
getMessageServeEventin interfaceMessageJournal
-
reset
public void reset()- Specified by:
resetin interfaceMessageJournal
-
messageReceived
- Specified by:
messageReceivedin interfaceMessageJournal
-
removeEvent
- Specified by:
removeEventin interfaceMessageJournal
-
removeEventsMatching
- Specified by:
removeEventsMatchingin interfaceMessageJournal
-
removeEventsForStubsMatchingMetadata
public List<MessageServeEvent> removeEventsForStubsMatchingMetadata(StringValuePattern metadataPattern) - Specified by:
removeEventsForStubsMatchingMetadatain interfaceMessageJournal
-
waitForEvent
- Specified by:
waitForEventin interfaceMessageJournal
-
waitForEvents
- Specified by:
waitForEventsin interfaceMessageJournal
-