Fragment from xmpp code:

XmppExchange exchange = endpoint.createExchange(message);
try {
    getProcessor().process(exchange);
} catch (Exception e) {
// TODO: what should we do when a processing failure occurs??
      e.printStackTrace();
}


Question: isn't hiding exceptions the worst possible option?
I would expect camel core to handle exceptions properly so that endpoints do not have to deal with it. Am I right?

Vadim.

Reply via email to