I have python code that puts several highly delayed (days to months) messages onto an ActiveMQ queue. I would like to test if the code is correct by looking for those messages and making sure they are on the queue with the correct priority. The problem is that the messages can't be popped off the queue until the AMQ_SCHEDULED_DELAY period has expired, and my unit tests can't run for month.
Aucun commentaire:
Enregistrer un commentaire