package cn.myapps.runtime.excutor.async;

//import javax.jms.ObjectMessage;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
//import org.springframework.jms.annotation.JmsListener;

public class ActiveMQReceiver {
	private Logger logger = LoggerFactory.getLogger(DocumentDAOAspect.class);

	/*todo: checked, rm by hc 20220517, beijing
	@JmsListener(destination = "RUNTIME_DAO_COMMAND")
	public void receive(ObjectMessage message) throws Exception {
		logger.debug("ActiveMQ message receivered");
		//执行CommandGroup
		RuntimeDaoCommandGroup commandGroup = (RuntimeDaoCommandGroup) message.getObject();
		(new RuntimeDaoCommandExecutor(commandGroup)).execCommandGroup();
		
	}
	 */

}