Now i'm starting the route via RESTful Service and
the ProducerTemplate.
But it' doesn't make any difference.

The same about this is, that the Camelcontext gets injected.
The injection is now via com.sun.jersey.spi.inject.Inject;

What i really don't understand is why i get the same error when i omit the
following out of my route definition...

                errorHandler(defaultErrorHandler().logStackTrace(true));

                onException(PSENoWorkloadException.class).
                        handled(true).
                        bean(bean, "finalizeRun").      
                        setBody().simple(NOWORKLOAD);
                
                onException(PSERunActiveException.class).
                        handled(true).
                        setBody().simple(ACTIVERUN);

This is then the only difference, between the routes that work and the one
that doesn't... 
i'm puzzled...



-- 
View this message in context: 
http://old.nabble.com/Method-setExceptionListener-not-permitted-in-J2EE-Servers-tp28693246p28739458.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to