2018年4月16日
摘要: 代码示例: execute 方法执行 runnable 任务,submit 方法执行 callable 任务,callable 任务有返回值,而 runnable 任务是 void 的,无返回值。 对于 Runnable,task 是 MyRunner,对于 Callable,task 是 Futu 阅读全文
posted @ 2018-04-16 17:34 偶尔发呆 阅读(2307) 评论(0) 推荐(0)
摘要: http://activemq.apache.org/consumer-priority.html consumer 优先级 http://activemq.apache.org/activemq-message-properties.html 消息优先级 1、设置 consumer 的优先级: p 阅读全文
posted @ 2018-04-16 14:20 偶尔发呆 阅读(2100) 评论(0) 推荐(0)