some test code for activeMQ