Class ProductsEventConfiguration
java.lang.Object
es.kukenan.smartfi.microservice.contracts.events.ProductsEventConfiguration
@Configuration
@ConditionalOnClass(es.kukenan.smartfi.common.utils.CustomObjectMapper.class)
public class ProductsEventConfiguration
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionproductEventParser(es.kukenan.smartfi.common.utils.CustomObjectMapper customObjectMapper) Products micro-service events parser.
-
Constructor Details
-
ProductsEventConfiguration
public ProductsEventConfiguration()
-
-
Method Details
-
productEventParser
@Bean public ProductsEventParser productEventParser(@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.
-