*/
public class RouteScopedOnExceptionWithInterceptSendToEndpointIssueTest extends ContextTestSupport {
public void testIssue() throws Exception {
RouteDefinition route = context.getRouteDefinitions().get(0);
route.adviceWith(context, new RouteBuilder() {
@Override
public void configure() throws Exception {
interceptSendToEndpoint("seda:*")
.skipSendToOriginalEndpoint()
.throwException(new ConnectException("Forced"));