learning-spring-boot / learning-spring-boot-2nd-edition-code

Source code for Learning Spring Boot 2nd Edition
http://greglturnquist.com/books/learning-spring-boot
Other
75 stars 32 forks source link

Chapter 7 & Chapter 8 with JDK 9 comment posting failure #8

Open pbaletkeman opened 6 years ago

pbaletkeman commented 6 years ago

Cleared/reset RabbitQM queues and data. Zero errors even with debug logging turned on. I can see the new data going out from the Image service, but the new data does not get saved into the database. The pull/REST request for the comments from the Comments service works fine. I see lines like this in both the Comments service and the Image service

INFO [ctor-http-nio-2] o.s.a.r.c.CachingConnectionFactory : Created new connection: SpringAMQP#2633e64d:0/SimpleConnection@57006d57 [delegate=amqp://guest@127.0.0.1:5672/, localPort= 58919]

I suspect that this code does not work as expected with only JDK 9. I'm choosing not to try this with JDK 8, but I do suspect that this code works fine with JDK 8. Also running this code on Windows 10 Pro system with 16 GB of RAM

gregturn commented 6 years ago

Not sure what to say. I have done zero work with Java 9. And I can't testify to the support of the Spring portfolio on these milestones with Java 9 either.

pbaletkeman commented 6 years ago

I'm not saying that I've done everything perfectly, I make mistakes like everyone else. Perhaps someone else will come along and say that all works as expected with Java 9.

Thanks to this book I do have a good introduction to many things related to Spring Boot 2 and I feel that I know enough to be dangerous.

gregturn commented 6 years ago

I'm glad the book is helping you out. And i appreciate you interacting with code repo.

If you want to be more connected, I invite you to join my technical street team. For details see http://greglturnquist.com/street-teams/the-turnquist-techies