From 254257dd2cbd06320b4b98daed5078d3ea6c7ae2 Mon Sep 17 00:00:00 2001 From: Jakub Jedlicka Date: Mon, 23 Dec 2024 18:16:59 +0100 Subject: [PATCH] Disable the session header as it's not possible to invoke it --- .../ts/spring/data/primitivetypes/HttpCommonsHeaders.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring/spring-data/src/main/java/io/quarkus/ts/spring/data/primitivetypes/HttpCommonsHeaders.java b/spring/spring-data/src/main/java/io/quarkus/ts/spring/data/primitivetypes/HttpCommonsHeaders.java index a84922467..52beba133 100644 --- a/spring/spring-data/src/main/java/io/quarkus/ts/spring/data/primitivetypes/HttpCommonsHeaders.java +++ b/spring/spring-data/src/main/java/io/quarkus/ts/spring/data/primitivetypes/HttpCommonsHeaders.java @@ -28,7 +28,8 @@ public class HttpCommonsHeaders implements ContainerResponseFilter { public void filter(ContainerRequestContext requestCtx, ContainerResponseContext responseCtx) { MultivaluedMap headers = responseCtx.getHeaders(); headers.add("x-count", AppConfiguration.getAndIncIndex()); - headers.add("x-session", sessionIdBean.getSessionId()); + // TODO enable the session header after the https://github.com/quarkusio/quarkus/issues/45191 is fixed + //headers.add("x-session", sessionIdBean.getSessionId()); headers.add("x-request", requestIdBean.getRequestId()); headers.add("x-instance", instanceId.getInstanceId()); }