test activemq duration:p2p,pub/sub