Class RxJavaConfig
java.lang.Object
net.finmath.decryptionoracle.config.RxJavaConfig
RxJava global error handler.
Purpose:
- Suppress RxJava "UndeliverableException" noise that happens when a websocket
connection drops and RxJava tries to deliver an error after a stream has
already been disposed.
- Keep real / actionable errors visible.
This is mostly cosmetics; it does not change listener behavior/security.
- Author:
- Christian Fries
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RxJavaConfig
public RxJavaConfig()
-
-
Method Details
-
onClosed
@EventListener(org.springframework.context.event.ContextClosedEvent.class) public void onClosed()Recognize closing of the application context. -
init
@PostConstruct public void init()setupRxJavaErrorHandler
-