diff --git a/core/src/main/java/com/predic8/membrane/core/interceptor/flow/ConditionalInterceptor.java b/core/src/main/java/com/predic8/membrane/core/interceptor/flow/ConditionalInterceptor.java index 6dbb52bb83..7996567ab9 100644 --- a/core/src/main/java/com/predic8/membrane/core/interceptor/flow/ConditionalInterceptor.java +++ b/core/src/main/java/com/predic8/membrane/core/interceptor/flow/ConditionalInterceptor.java @@ -78,8 +78,8 @@ private boolean testCondition(Exchange exc) { put("ABORT", Outcome.ABORT); put("spring", router.getBeanFactory()); put("exc", exc); + putAll(createParameterBindings(router.getUriFactory(), exc, exc.getRequest(), REQUEST, false)); }}; - parameters.putAll(createParameterBindings(router.getUriFactory(), exc, exc.getRequest(), REQUEST, false)); return condition.apply(parameters); }