This is an automated email from the ASF dual-hosted git repository.
alexpl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 9494c2f3499 IGNITE-17541 Thin client: add spring compatible setter for
"send stack trace to client" flag - Fixes #10230.
9494c2f3499 is described below
commit 9494c2f3499b3ce58ba582f3e502526f1fb1ddc5
Author: Julia Bakulina <[email protected]>
AuthorDate: Mon Sep 12 11:38:00 2022 +0300
IGNITE-17541 Thin client: add spring compatible setter for "send stack
trace to client" flag - Fixes #10230.
Signed-off-by: Aleksey Plekhanov <[email protected]>
---
.../apache/ignite/configuration/ThinClientConfiguration.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git
a/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
index e05ede0b391..d84a19695ea 100644
---
a/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
+++
b/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
@@ -111,13 +111,25 @@ public class ThinClientConfiguration {
/**
* @param sendServerExcStackTraceToClient If {@code true} sends a server
exception stack to the client side.
* @return {@code this} for chaining.
+ * @deprecated Use {@link
#setServerToClientExceptionStackTraceSending(boolean)} instead.
*/
+ @Deprecated
public ThinClientConfiguration
sendServerExceptionStackTraceToClient(boolean sendServerExcStackTraceToClient) {
this.sendServerExcStackTraceToClient = sendServerExcStackTraceToClient;
return this;
}
+ /**
+ * @param sendStackTrace If {@code true} sends a server exception stack to
the client side.
+ * @return {@code this} for chaining.
+ */
+ public ThinClientConfiguration
setServerToClientExceptionStackTraceSending(boolean sendStackTrace) {
+ sendServerExcStackTraceToClient = sendStackTrace;
+
+ return this;
+ }
+
/** {@inheritDoc} */
@Override public String toString() {
return S.toString(ThinClientConfiguration.class, this);