You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have 2 Spring boot applications A and B. Are there any ways that application B subscribes to events published by application A, where those events are placed in application A rather than in a common project?
For example, I have 2 microservices: TodoService and TodoViewService. TodoService publishes events TodoCreatedEvent (which is located in package com.todoservice.events.TodoCreatedEvent). In TodoViewService, I created TodoCreatedEvent located in package com.todoviewservice.events.TodoCreatedEvent. I want TodoViewService to subscribe to TodoCreatedEvent published from TodoService, but it doesn't work.
Any suggestions?
Thanks
The text was updated successfully, but these errors were encountered:
Let's say I have 2 Spring boot applications A and B. Are there any ways that application B subscribes to events published by application A, where those events are placed in application A rather than in a common project?
For example, I have 2 microservices:
TodoService
andTodoViewService
. TodoService publishes events TodoCreatedEvent (which is located in packagecom.todoservice.events.TodoCreatedEvent
). In TodoViewService, I createdTodoCreatedEvent
located in packagecom.todoviewservice.events.TodoCreatedEvent
. I want TodoViewService to subscribe to TodoCreatedEvent published from TodoService, but it doesn't work.Any suggestions?
Thanks
The text was updated successfully, but these errors were encountered: