added some activemq functionality