Add ActiveMQ config
Fix compile issue