Skip to content

Integration testing applications which contain Rqueue #136

Closed Answered by TomMarquardt1
TomMarquardt1 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

ProcessingRequest processingRequest = new ProcessingRequest();
processingRequest.setId(123);

List<Object> queuedProcessingRequests = _rqueueMessageManager.getAllMessages(PROCESSING_REQUEST_QUEUE);
assertTrue(queuedProcessingRequests.contains(processingRequest));

Anyway, this worked for me.

Thanks again,
Tom

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sonus21
Comment options

Answer selected by sonus21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants