@Override | |
public void handleEvent(final Event event) { | |
try { | |
LOG.error("Handling Event"); | |
Exchange exchange = endpoint.createExchange(); | |
exchange.getIn().setBody("event fired"); | |
processor.process(exchange); | |
} catch (Exception e) { | |
LOG.error("Failed to process the exchange", e); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment