diff options
Diffstat (limited to 'juick-notifications/src/main/java/com/juick/components/Notifications.java')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/Notifications.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/Notifications.java b/juick-notifications/src/main/java/com/juick/components/Notifications.java index 1513428b..a43d985c 100644 --- a/juick-notifications/src/main/java/com/juick/components/Notifications.java +++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java @@ -36,6 +36,7 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.context.ApplicationListener; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpMethod; +import org.springframework.stereotype.Component; import org.springframework.web.client.RestTemplate; import javax.annotation.Nonnull; @@ -50,6 +51,7 @@ import java.util.stream.Collectors; /** * @author Ugnich Anton */ +@Component public class Notifications implements NotificationClientListener, AutoCloseable, ApplicationListener<MessageEvent> { private static Logger logger = LoggerFactory.getLogger(Notifications.class); |