0
votes

I have some Hybris Charon (rxJava based implementation) based services configured (with Observable return types) in my project. Couple of those services are being invoked from single methods call. When I checked logs, found them running parallel. However when I created a sample POC using rxJava and created multiple observables, I found them running synchronously (one after another, unless explicitly configured to run on new thread). That's why my question is, whether Charon is configured to async (when using Observable return types) out of the box.

1

1 Answers

0
votes

As far as I know, Charon is using RxJava version 1.x, which is no longer maintained. The latest version of RxJava is 2.x. I'm also not use if Charon is still maintained. Nevertheless, you should be able to call RxJava1.x Observables ansynchronously out of the box with this project. If you would like to use RxJava 2.x, probably you'll need to use interop libraries to convert RxJava 1.x types to 2.x.