Class NotificationsEventConfiguration
java.lang.Object
es.kukenan.smartfi.microservice.contracts.events.NotificationsEventConfiguration
@Configuration
@ConditionalOnClass(es.kukenan.smartfi.common.utils.CustomObjectMapper.class)
public class NotificationsEventConfiguration
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 TypeMethodDescriptionnotificationsEventParser(es.kukenan.smartfi.common.utils.CustomObjectMapper customObjectMapper) Products micro-service events parser.
-
Constructor Details
-
NotificationsEventConfiguration
public NotificationsEventConfiguration()
-
-
Method Details
-
notificationsEventParser
@Bean public NotificationsEventParser notificationsEventParser(@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.
-