【发布时间】:2015-02-25 06:06:17
【问题描述】:
2015-02-24 15:38:23,255 [task-scheduler-1] 错误 org.springframework.integration.handler.LoggingHandler - org.springframework.messaging.MessageHandlingException: ;嵌套异常是 org.springframework.web.client.HttpClientErrorException: 413 Request Entity Too Large
【问题讨论】:
-
使用 restemplate.postFOrObject() 在 GET 请求中传递一个大的 xml。是否有可以为 resttemplate 配置的大小限制,或者是否应该在 vfabric 服务器上配置。有没有更好的方法来处理如此大的数据 -