聊聊artemis的MessageLoadBalancingType
序 本文主要研究一下artemis的MessageLoadBalancingType MessageLoadBalancingType activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/MessageLoadBalancingType.java public enum MessageLoadBalancingType { OFF("OFF"), STRICT("STRICT"), ON_DEMAND("ON_DEMAND"); static { // for URI support on ClusterConnection BeanSupport.registerConverter(new MessageLoadBalancingTypeConverter(), MessageLoadBalancingType.class); } static class MessageLoadBalancingTypeConverter implements Converter { @Override public <T> T convert(Class<T> type, Object value) { return type.cast