--- CircuitBreaker/src/dk/thoerup/curcuitbreaker/CircuitBreaker.java 2009/10/05 19:46:15 394 +++ CircuitBreaker/src/dk/thoerup/curcuitbreaker/CircuitBreaker.java 2009/10/05 19:54:25 395 @@ -5,7 +5,9 @@ /* Simple CircuitBreaker implementation - snipped from http://www.jroller.com/kenwdelong/entry/circuit_breaker_in_java * * example of how it can be used -protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + + private CircuitBreaker cb = new CircuitBreaker("test", 5, 10000); + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { class TestInvocation implements CircuitInvocation { String url; public TestInvocation(String url) {