Skip to content

Commit

Permalink
Fix #456: Stackoverflow on response and apikit router (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Drexler authored Aug 7, 2021
1 parent 2eaf5d3 commit 5e19d80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private static Element getParentFlow(Element element) {
if ("flow".equalsIgnoreCase(parent.getName()))
return parent;

return getParentFlow(element);
return getParentFlow(parent);
}

private static String getExpressionValue(String str) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<apikit:config name="api-config" raml="api.raml" consoleEnabled="false"/>
<flow name="global-kafka-sys-api-main">
<http:listener config-ref="httpListenerConfig" path="/api/*"/>
<response>
<set-property propertyName="test" value="test"/>
</response>
<apikit:router config-ref="api-config"/>
<exception-strategy ref="apiKitGlobalExceptionMapping"/>
</flow>
Expand Down

0 comments on commit 5e19d80

Please sign in to comment.