Open
Description
We were wondering if there is a way to concatenate mediators or routes with openHIM functionality so that e.g. the success of the first mediator triggers the execution of the second one.
We have tried something now by having two mediators A and B where mediator A executes its expression and passes the result to mediator B with a POST request which finalizes the process by also executing its expression and sending back a response but this approach have a performance toll because it generate more traffic (8) isntead of (6)
Traffic using the workarround described
- Ext system --> openHIM
- openHIM --> A
- (2nd Mediator)A --> openHIM
- (2nd Mediator) openHIM --> B
- (2nd Mediator) B --> openHIM
- (2nd Mediator) openHIM -->A
- A --> openHIM
- openHIM --> Ext system
Traffic that should happen
- Ext system --> openHIM
- openHIM --> A
- A --> openHIM
- (2nd Mediator) openHIM --> B
- (2nd Mediator) B --> openHIM
- openHIM --> Ext system
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels