I am refactoring some code from Spring Integration 2.x to 4.x and have come across a compile error in a handler that extends AbstractReplyProducingMessageHandler
.
The onInit
method on that Abstract Class is final
, yet my legacy
code overrides it successfully in the 2.0 S.I. code.
There is a method that seems to be able to be over-ridden called
doInit()
What is the difference in use between the onInit
method and the doInit
method. The java docs are not very helpful (as a matter of fact they contain no information except the onInit
method is final
.)