Skip to content

Instantly share code, notes, and snippets.


codebude/HandleEvent.groovy Secret

Created Jan 8, 2020
What would you like to do?
public void handleEvent(final Event event) {
try {
LOG.error("Handling Event");
Exchange exchange = endpoint.createExchange();
exchange.getIn().setBody("event fired");
} 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