* @param context
*/
protected void configureMessageController(ApplicationContext context) {
if (context.containsBean(MESSAGE_CONTROLLER_BEAN_NAME)) {
HttpMessageController messageController = context.getBean(MESSAGE_CONTROLLER_BEAN_NAME, HttpMessageController.class);
EndpointAdapter endpointAdapter = httpServer.getEndpointAdapter();
HttpEndpointConfiguration endpointConfiguration = new HttpEndpointConfiguration();
endpointConfiguration.setMessageConverter(httpServer.getMessageConverter());
endpointConfiguration.setHeaderMapper(DefaultHttpHeaderMapper.inboundMapper());
messageController.setEndpointConfiguration(endpointConfiguration);