You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a|icon:lock[title=Fixed at build time] [[quarkus-websockets-next_quarkus-websockets-next-server-activate-request-context]] [.property-path]##link:#quarkus-websockets-next_quarkus-websockets-next-server-activate-request-context[`quarkus.websockets-next.server.activate-request-context`]##
76503
+
76504
+
[.description]
76505
+
--
76506
+
Specifies whether to activate the CDI request context when an endpoint callback is invoked. By default, the request context is only activated if needed.
a|tooltip:auto[The request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as `@RolesAllowed`) in the dependency tree of the endpoint.], tooltip:always[The request context is always activated.]
76517
+
|tooltip:auto[The request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as {@code @RolesAllowed}) in the dependency tree of the endpoint.]
a|icon:lock[title=Fixed at build time] [[quarkus-websockets-next_quarkus-websockets-next-server-activate-request-context]] [.property-path]##link:#quarkus-websockets-next_quarkus-websockets-next-server-activate-request-context[`quarkus.websockets-next.server.activate-request-context`]##
11
+
12
+
[.description]
13
+
--
14
+
Specifies whether to activate the CDI request context when an endpoint callback is invoked. By default, the request context is only activated if needed.
a|tooltip:auto[The request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as `@RolesAllowed`) in the dependency tree of the endpoint.], tooltip:always[The request context is always activated.]
25
+
|tooltip:auto[The request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as {@code @RolesAllowed}) in the dependency tree of the endpoint.]
a|icon:lock[title=Fixed at build time] [[quarkus-websockets-next_quarkus-websockets-next-server-activate-request-context]] [.property-path]##link:#quarkus-websockets-next_quarkus-websockets-next-server-activate-request-context[`quarkus.websockets-next.server.activate-request-context`]##
11
+
12
+
[.description]
13
+
--
14
+
Specifies whether to activate the CDI request context when an endpoint callback is invoked. By default, the request context is only activated if needed.
a|tooltip:auto[The request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as `@RolesAllowed`) in the dependency tree of the endpoint.], tooltip:always[The request context is always activated.]
25
+
|tooltip:auto[The request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as {@code @RolesAllowed}) in the dependency tree of the endpoint.]
Additionally, starting with `com.google.cloud.sql:postgres-socket-factory:1.17.0`, you must also mark `com.kenai.jffi.internal.Cleaner` as runtime initialized.
You can find a set of extensions to access various Google Cloud Services in the Quarkiverse (a GitHub organization for Quarkus extensions maintained by the community),
Copy file name to clipboardExpand all lines: _versions/main/guides/tls-registry-reference.adoc
+10-2
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,15 @@ endif::no-reactive-routes[]
28
28
.
29
29
30
30
As a result, applications that use the TLS Registry can be ready to handle secure communications out of the box.
31
-
TLS Registry also provides features like automatic certificate reloading, Let's Encrypt (ACME) integration, Kubernetes Cert-Manager support, and compatibility with various keystore formats, such as PKCS12, PEM, and JKS.
31
+
32
+
TLS Registry also provides automatic certificate reloading
33
+
ifndef::no-lets-encrypt[]
34
+
, integration with Let's Encrypt (ACME)
35
+
endif::no-lets-encrypt[]
36
+
ifndef::no-kubernetes-secrets-or-cert-manager[]
37
+
, support for Kubernetes Cert-Manager,
38
+
endif::no-kubernetes-secrets-or-cert-manager[]
39
+
and compatibility with various keystore formats, such as PKCS12, PEM, and JKS.
Copy file name to clipboardExpand all lines: _versions/main/guides/websockets-next-reference.adoc
+4-1
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,10 @@ The session context remains active until the `@OnClose` method completes executi
182
182
In cases where a WebSocket endpoint does not declare an `@OnOpen` method, the session context is still created.
183
183
It remains active until the connection terminates, regardless of the presence of an `@OnClose` method.
184
184
185
-
Methods annotated with `@OnTextMessage,` `@OnBinaryMessage,` `@OnOpen`, and `@OnClose` also have the request scope activated for the duration of the method execution (until it produced its result).
185
+
Endpoint callbacks may also have the request context activated for the duration of the method execution (until it produced its result).
186
+
By default, the request context is only activated if needed, i.e. if there is a request scoped bean , or a bean annotated with a security annotation (such as `@RolesAllowed`) in the dependency tree of the endpoint.
187
+
However, it is possible to set the `quarkus.websockets-next.server.activate-request-context` config property to `always`.
188
+
In this case, the request context is always activated when an endpoint callback is invoked.
0 commit comments