如何在JoinFaces / Spring Boot中设置Undertow属性?

时间:2019-01-16 11:14:47

标签: spring-boot undertow joinfaces

直到现在我们使用Wildfly 12并增加了standalone.xml配置文件中undertow模块(服务器-> http-listener)中的http max-parameters值。

现在,我们使用JoinFaces切换到Spring生态系统,并且不知道如何正确配置Undertow。根据JoinFaces Wiki,应该在application.properties文件中使用jsf.undertow命名空间。因此,我们运行我们的应用程序尝试了几种解决方案(例如jsf.undertow.http.max-parameters = 5000),但到目前为止没有一个解决方案。

这甚至可以在属性文件中完成吗?还是需要编程解决方案?

1 个答案:

答案 0 :(得分:1)

在这里查看:https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

我只看到这些属性可用于Undertow。

const cluster = new MarkerClusterer(this.map, this.map_markers, {
    imagePath: site_settings.template_directory + '/assets/images/marker-clusterer/m',
    styles:[{
        textSize: 12,
        textColor: 'white'
    }],
    maxZoom: this.map_max_zoom - 1,
    zoomOnClick: true
})

因此,您似乎必须在Spring Boot Undertow问题上请求一个问题,才能让他们添加它!

在此处请求:https://github.com/spring-projects/spring-boot/issues