-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bean of type 'org.springframework.cloud.stream.function.StreamBridge' could not be found #2960
Comments
It doesn't appear your application is being properly autowired due to some missconfiguration on your end. Can you please share your application in a zip or push to github so we can take a look |
Thank you for responding but unfortunately I can't share the entire code
These are the dependencies
The properties file
|
What about the class that autowires |
Closing due to lack of follow up from the reporter |
I am using Spring Cloud Stream and RabbitMQ to send message to a channel.
I have Autowired StreamBridge -
Still I am getting the error
required a bean of type 'org.springframework.cloud.stream.function.StreamBridge' that could not be found. Action:Consider defining a bean of type 'org.springframework.cloud.stream.function.StreamBridge' in your configuration.
Spring-boot version - 3.2.1
spring-cloud-stream - 4.1.1
#Spring-cloud-stream
#RabbitMQ
The text was updated successfully, but these errors were encountered: