With message queue, is it mandatory to have a matc...
# pact-jvm
é
With message queue, is it mandatory to have a match between
@PactVerifyProvider(…)
value and the consumer
expectsToReceive(…)
one. I was using Pact only for REST until now and, to my understanding, I never had to use that. Why this difference?
m
Because with HTTP, you have paths and verbs and things - so the verifier can just issue a request to
GET /foo/bar
With messages, it needs a way to know how to get the producer to produce a message of a particular type
there is no universal way to do that
é
Thanks
👍 1