@ Bean @ ConditionalOnMissingBean ( name = "busJsonConverter" ) @ StreamMessageConverter public AbstractMessageConverter busJsonConverter ( @ Autowired ( required = false ) ObjectMapper objectMapper ) { return new BusJacksonMessageConverter ( objectMapper ) ; }
otherwise RemoteApplicationEventRegistrar will register the bean