Sure! Need to be more carefull. It's up to you to remove it on merge.
However, if `MessagingTemplate` would be as a bean, the `beanFactory` will be there anyway.
From other side it might be need somewhere in the future