camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huntc <>
Subject Processor throws clause side-effects
Date Wed, 08 Oct 2008 11:55:49 GMT

Hi there,

I notice that the Processor interface is defined as throwing an exception of
type Exception i.e.:

	public void process(Exchange exchange) throws Exception;

The unfortunate side effect of this prototype is that IDE's and compilers do
not alert you to any exceptions that can be potentially thrown within the
process method.

Is this of concern to anyone?

Kind regards,
View this message in context:
Sent from the Camel - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message