Class CardsEventConfiguration

java.lang.Object
es.kukenan.smartfi.microservice.contracts.events.CardsEventConfiguration

@Configuration @ConditionalOnClass(es.kukenan.smartfi.common.utils.CustomObjectMapper.class) public class CardsEventConfiguration extends Object
A configuration bean of this class is automatically created during spring boot application startup. It is designed to create some beans when this library is added as dependency in the project, without explicit declaration. This makes easier to configure applications that depends on this project beans and configurations.
  • Constructor Details

    • CardsEventConfiguration

      public CardsEventConfiguration()
  • Method Details

    • cardsEventParser

      @Bean public CardsEventParser cardsEventParser(@Autowired es.kukenan.smartfi.common.utils.CustomObjectMapper customObjectMapper)
      Products micro-service events parser.
      Parameters:
      customObjectMapper - the jackson parser used to transform JSON.
      Returns:
      products events parser.