We have seen how a filter works in an integration; in doing so you may have recognized how conditional routing can be introduced, but let's step through an example by extending our FilteredStatusReporting_Ch7
integration, so it looks as follows:
In the introduction, we mentioned that actually beyond the filter the different paths could call the same endpoint with different values or very different endpoints (different in terms of adapter, connection, and payload). As you can see, in our example we are going to only differentiate by mapping and use the same endpoint; in doing so we can focus on the integration, not the setting up of more connections and mocks.