|
|
|
@ -96,6 +96,7 @@ public class SpringCloudStreamRocketMQThreadPoolAdapter implements ThreadPoolAda
|
|
|
|
|
if (CollectionUtil.isEmpty(inputBindings)) {
|
|
|
|
|
log.info("InputBindings record not found.");
|
|
|
|
|
}
|
|
|
|
|
try {
|
|
|
|
|
for (Binding<Object> each : inputBindings) {
|
|
|
|
|
String bindingName = each.getBindingName();
|
|
|
|
|
String buildKey = mark() + IDENTIFY_SLICER_SYMBOL + bindingName;
|
|
|
|
@ -108,5 +109,8 @@ public class SpringCloudStreamRocketMQThreadPoolAdapter implements ThreadPoolAda
|
|
|
|
|
ThreadPoolExecutor consumeExecutor = (ThreadPoolExecutor) cn.hutool.core.util.ReflectUtil.getFieldValue(consumeMessageService, "consumeExecutor");
|
|
|
|
|
ROCKET_MQ_SPRING_CLOUD_STREAM_CONSUME_EXECUTOR.put(buildKey, consumeExecutor);
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception ex) {
|
|
|
|
|
log.error("Failed to get input-bindings thread pool.", ex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|