feat(REQ-2924) - 移除 starter 的 Bean 注册
This commit is contained in:
parent
80af410408
commit
d4e4f4a45e
@ -165,6 +165,7 @@ public class StarterRPCInvokeMQConfiguration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
|
@ConditionalOnProperty(prefix = "rocketmq", value = "name-server")
|
||||||
@Conditional(NonContainerEnvironmentCondition.class)
|
@Conditional(NonContainerEnvironmentCondition.class)
|
||||||
@RocketMQMessageListener(topic = DEFAULT_EVENT + "${spring.profiles.active}",
|
@RocketMQMessageListener(topic = DEFAULT_EVENT + "${spring.profiles.active}",
|
||||||
consumerGroup = "GID_${spring.application.name}_workflow_engine_starter_${GID_SEGMENT}_consumer",
|
consumerGroup = "GID_${spring.application.name}_workflow_engine_starter_${GID_SEGMENT}_consumer",
|
||||||
@ -199,6 +200,7 @@ public class StarterRPCInvokeMQConfiguration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Bean("workflowEngineClientRetryEventListener")
|
@Bean("workflowEngineClientRetryEventListener")
|
||||||
|
@ConditionalOnProperty(prefix = "rocketmq", value = "name-server")
|
||||||
public WorkflowEngineStarterRetryEventListener workflowEngineClientRetryEventListener(@Qualifier(WORKFLOW_ENGINE_STARTER_EVENT_CONSUMER_BEAN_NAME) EventConsumer workflowEngineStarterEventConsumer,
|
public WorkflowEngineStarterRetryEventListener workflowEngineClientRetryEventListener(@Qualifier(WORKFLOW_ENGINE_STARTER_EVENT_CONSUMER_BEAN_NAME) EventConsumer workflowEngineStarterEventConsumer,
|
||||||
Environment environment,
|
Environment environment,
|
||||||
WorkflowEngineStarterProperties starterProperties,
|
WorkflowEngineStarterProperties starterProperties,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user