MessagingGateway + ConditionalOnBean = NPE

https://github.com/spring-projects/spring-boot/issues/2080