-
-
Save codebude/936a51eb3870d64e2785886578912301 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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