I'm new to Spring, Spring Boot and RabbitMQ. However I'm an okay programmer/problem solver.
Recently I started go through this book Learning Spring Boot 2.0 - Second Edition, code for this can be found here https://github.com/learning-spring-boot/learning-spring-boot-2nd-edition-code. I think that things were moving along okay for me...a few hiccups here and there, but whatever as long as I was able to progress and learn I figured I was doing fine.
I'm just over half way through this book and then the author starts talking about Spring Cloud Streams and RabbitMQ. I'm now working with the code found here https://github.com/learning-spring-boot/learning-spring-boot-2nd-edition-code/tree/master/6/part3.
My code doesn't produce an error, but it doesn't produce the expected results either. When I run the application the image comments do not seem to be saved or shown. I get a log message like this
o.s.a.r.c.CachingConnectionFactory : Created new connection: SpringAMQP#2920fd66:0/SimpleConnection@59ae4da8 [delegate=amqp://[email protected]:5672/, localPort= 57615]
when I submit the data.
However the book states that I should get getting messages like the following:
o.s.integration.channel.DirectChannel : preSent on channel input, message: GenericMessage [payload=Comment(id=null,imageId=book.jpg)]
Looking at what I should be getting it appears as thought the problem may be related to channels. Maybe the issue is not channels, maybe it's something else.
How should I go about finding the exact cause of this of the problem?