*/
public class ErrorHandlerAdviceIssueTest extends ContextTestSupport {
public void testErrorHandlerAdvice() throws Exception {
RouteDefinition foo = context.getRouteDefinition("foo");
foo.adviceWith(context, new RouteBuilder() {
@Override
public void configure() throws Exception {
interceptSendToEndpoint("seda:*")
.skipSendToOriginalEndpoint()
.throwException(new IllegalAccessException("Forced"));