Make Amqp Handler service conditional in order to add possibility to be overriden (#1567)
Signed-off-by: TRS1SF3 <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
d3cab9a326
commit
cbc2185561
@@ -273,6 +273,7 @@ public class AmqpConfiguration {
|
|||||||
* @return handler service bean
|
* @return handler service bean
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
|
@ConditionalOnMissingBean
|
||||||
public AmqpMessageHandlerService amqpMessageHandlerService(final RabbitTemplate rabbitTemplate,
|
public AmqpMessageHandlerService amqpMessageHandlerService(final RabbitTemplate rabbitTemplate,
|
||||||
final AmqpMessageDispatcherService amqpMessageDispatcherService,
|
final AmqpMessageDispatcherService amqpMessageDispatcherService,
|
||||||
final ControllerManagement controllerManagement, final EntityFactory entityFactory,
|
final ControllerManagement controllerManagement, final EntityFactory entityFactory,
|
||||||
|
|||||||
Reference in New Issue
Block a user