摘要:
接收的时候指定MessageIDActiveMQConnection connection = (ActiveMQConnection) new ActiveMQConnectionFactory().createConnection();Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);//P_1为消息IDMessageConsumer myConsumer = session.createConsumer(session.createTopic("TestMessage" 阅读全文
摘要:
1 <broker xmlns="http://activemq.apache.org/schema/core" schedulePeriodForDestinationPurge="10000">2 <destinationPolicy>3 <policyMap>4 <policyEntries>5 <policyEntry queue=">" gcInactiveDestinations="true" inactiveTimoutBeforeGC=&q 阅读全文