I have this onException block before my route
onException(Exception.class)
.process(new IncProcessor(IncService))
.handled(true);
What the processor does is grab the exception that occurs and uses an API to send and store it where I want it. The problem is that when that IncProcessor experiences an error, it results in an infinite loop since the onException block catches the error that occurs in IncProcessor and tries to run that same processor again. Is there any way to get around that?