Last active
September 20, 2016 13:47
-
-
Save mariomartinezricston/91daceac7b3f7ff2f8c38494b44e8264 to your computer and use it in GitHub Desktop.
Runnable Start
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
private Runnable createParalelStart(final MuleContextNotification notification) { | |
final Runnable callFlow = new Runnable() { | |
public void run() { | |
try | |
{ | |
Thread.sleep(4000); | |
logger.info("Starting up process in 4 second"); | |
executeFlow(notification); | |
} | |
catch (InterruptedException e) {e.printStackTrace();} | |
catch (MuleException e) {e.printStackTrace();} | |
} | |
}; | |
return callFlow; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment