Testing Delayed Message With ActiveMQ and Python -


i have python code puts several highly delayed (days months) messages onto activemq queue. test if code correct looking messages , making sure on queue correct priority. problem messages can't popped off queue until amq_scheduled_delay period has expired, , unit tests can't run month.

you can use management tools peek scheduler , see there. there jmx mbean in newer releases of broker , there way via normal jms messages request information sent client. wrote time ago on blog.

the unit tests in activemq place ideas on how use , test various things dealing broker features, there tests jmx management , jms management of scheduler.


Comments