refactor fabric-activemq-demo to use declarative services