code: 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());
              endpointConfiguration.setHandleAttributeHeaders(httpServer.isHandleAttributeHeaders());
              endpointConfiguration.setHandleCookies(httpServer.isHandleCookies());
              endpointConfiguration.setDefaultStatusCode(httpServer.getDefaultStatusCode());
              messageController.setEndpointConfiguration(endpointConfiguration);
  
              if (endpointAdapter != null) {
                  messageController.setEndpointAdapter(endpointAdapter);
              }
          }
      }
docs: Post process message controller.
  @param context