vinsguru-blog-code-samples
vinsguru-blog-code-samples copied to clipboard
OrchestratorService::orderProduct() is not getting called
Hi vinsguru,
OrchestratorService::orderProduct() is not getting called. Below are the steps I am following:
- I run inventory-service, payment-service, order-service, order-orchestrator
- Using a breakpoint, I see that OrchestratorConfig::processor() correctly gets called
- Then I run http://localhost:8080/order/create. This correctly returns “status”:”ORDER_CREATED”
- However, the problem is OrchestratorService::orderProduct(), which is called by OrchestratorConfig::processor(), is not getting called.
Is there a problem with flux subscription in OrchestratorConfig::processor()?