This content has been marked as final. Show 3 replies
Implementing an EBF in a separate composite would be the usual choice while leaving the EBS as it is, i.e. as simple mediation step in the flow handing incoming messages to this new EBF (and eventually also handling the reply or callback).
I have couple of doubts around that.
If we implement an EBF, should we make calls to external lookup web services called for determining the route? I am not sure if it is advised against to call external services from EBF or now.
It depends what these external services actually are. If we consider these services helper services in a sense similar to a rule engine, calling them directly from the EBF is no issue.
If these services are rather application services, then they should preferably have a canonical facade and the EBF would call them through the same or another EBS - depending on which canonical it would be.