Identity microservice posting to an eventbus
I am using this class in my Identity microservice wich adds the TestUsers to the identity database however i need to post a message to my eventbus for each user added so that my other microservices are notified and also add the user to their databases but i always get the error that my eventbus is null
3 Replies
Event bus is always null in your code, you're not ever describing it in dependency injection.
Unless it's offscreen
what do u mean? i am doingf the injection like this
That's not in your screenshot or I'm missing it somehow.