Integration testing applications which contain Rqueue #136
-
Hello, I'm writing integration tests for my application. My application queues a message with Rqueue. Is there an easy way to verify that the message was queued? I'm looking for a service/dao that I can inject into my integration test code where I can easily ask Rqueue to show me the messages sitting in a certain queue. I want to write a method where I can say: "isQueued(message)" or "getQueuedMessages() and then I verify my message is in the results. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Sonu, I was able to figure this out. If I wire in an instance of the RqueueMessageManager, I can verify the messages in the queue:
Anyway, this worked for me. Thanks again, |
Beta Was this translation helpful? Give feedback.
Hi Sonu,
I was able to figure this out. If I wire in an instance of the RqueueMessageManager, I can verify the messages in the queue:
Anyway, this worked for me.
Thanks again,
Tom