snicoll edited a comment on issue #6: Rationalise use of ObjectMapper
URL: https://github.com/apache/rocketmq-spring/pull/6#issuecomment-447773233
 
 
   @walking98 the cycle has nothing to do with my change (it was broken all 
along). There is field injection in your spring boot application, something you 
should never do because you're basically asking for the root source class to be 
only created when those fields are injected. At the same time, you are creating 
an `ObjectMapper` as a method of that bean (so we need to pick that up to apply 
field injection right after construction).
   
   Please restructure the sample so that the actual sample is in its own 
dedicated class. Please refrain from using field injection. Let me know if I 
can assit restructure the sample.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to