CAMEL-6377: Optimized routing engine to reduce stack frames in use during routing. Work in progress.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5fb81ec2 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5fb81ec2 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5fb81ec2 Branch: refs/heads/master Commit: 5fb81ec29423b835491b5a87fbda60ea14ea3ab3 Parents: 9bfdb66 Author: Claus Ibsen <davscl...@apache.org> Authored: Tue May 21 11:13:36 2013 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue May 21 11:13:36 2013 +0200 ---------------------------------------------------------------------- .../shiro/security/ShiroSecurityProcessor.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/5fb81ec2/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityProcessor.java ---------------------------------------------------------------------- diff --git a/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityProcessor.java b/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityProcessor.java index 3295f26..e74fe36 100644 --- a/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityProcessor.java +++ b/components/camel-shiro/src/main/java/org/apache/camel/component/shiro/security/ShiroSecurityProcessor.java @@ -56,7 +56,7 @@ public class ShiroSecurityProcessor extends DelegateAsyncProcessor { } @Override - protected boolean processNext(Exchange exchange, AsyncCallback callback) { + public boolean process(Exchange exchange, AsyncCallback callback) { try { applySecurityPolicy(exchange); } catch (Exception e) { @@ -66,7 +66,7 @@ public class ShiroSecurityProcessor extends DelegateAsyncProcessor { return true; } - return super.processNext(exchange, callback); + return super.process(exchange, callback); } private void applySecurityPolicy(Exchange exchange) throws Exception {