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
Observable.from(employeeIds).subscribe(id -> nameService.register(RxObservableInvokerProvider.class).resolveTemplate("userId", id).request().rx(RxObservableInvoker.class).get(String.class).asObservable() // gotten the name for the given
199
+
Observable.from(employeeIds).subscribe(id -> getNameService().register(RxObservableInvokerProvider.class).resolveTemplate("userId", id).request().rx(RxObservableInvoker.class).get(String.class).asObservable() // gotten the name for the given
200
200
// userId
201
201
.doOnError((throwable) -> {
202
202
logger.warn("[ObservableExample] An error has occurred in the username request step {}", throwable.getMessage());
hashService.register(RxObservableInvokerProvider.class).resolveTemplate("rawValue", userName + id).request().rx(RxObservableInvoker.class).get(String.class).asObservable() // gotten the hash value for
205
+
getHashService().register(RxObservableInvokerProvider.class).resolveTemplate("rawValue", userName + id).request().rx(RxObservableInvoker.class).get(String.class).asObservable() // gotten the hash value for
206
206
// userId+username
207
207
.doOnError((throwable) -> {
208
208
logger.warn("[ObservableExample] An error has occurred in the hashing request step {}", throwable.getMessage());
@@ -233,18 +233,18 @@ public void flowableJavaOrchestrate() throws InterruptedException {
233
233
234
234
finalCountDownLatchcompletionTracker = newCountDownLatch(expectedHashValues.size()); // used to keep track of the progress of the subsequent calls
nameService.register(RxFlowableInvokerProvider.class).resolveTemplate("userId", id).request().rx(RxFlowableInvoker.class).get(String.class) // gotten the name for the given userId
242
+
getNameService().register(RxFlowableInvokerProvider.class).resolveTemplate("userId", id).request().rx(RxFlowableInvoker.class).get(String.class) // gotten the name for the given userId
243
243
.doOnError((throwable) -> {
244
244
logger.warn("[FlowableExample] An error has occurred in the username request step {}", throwable.getMessage());
hashService.register(RxFlowableInvokerProvider.class).resolveTemplate("rawValue", userName + id).request().rx(RxFlowableInvoker.class).get(String.class) // gotten the hash value for userId+username
247
+
getHashService().register(RxFlowableInvokerProvider.class).resolveTemplate("rawValue", userName + id).request().rx(RxFlowableInvoker.class).get(String.class) // gotten the hash value for userId+username
248
248
.doOnError((throwable) -> {
249
249
logger.warn(" [FlowableExample] An error has occurred in the hashing request step!", throwable);
250
250
}).subscribe(hashValue -> {
@@ -269,4 +269,20 @@ public void flowableJavaOrchestrate() throws InterruptedException {
0 commit comments