Skip to content

Instantly share code, notes, and snippets.

@garyhodgson
Created September 30, 2014 12:07
Show Gist options
  • Save garyhodgson/7e73275621d35160f6ec to your computer and use it in GitHub Desktop.
Save garyhodgson/7e73275621d35160f6ec to your computer and use it in GitHub Desktop.
Fabric8 Property Update Issue
package com.garyhodgson.test.echofabric8profile;
public class Echo {
public static void main(String[] args) {
long i = 0;
String msg = (args.length > 0)?args[0]:"Nothing.";
while (true) {
System.out.println(String.format("%d: Echo: %s", i, msg));
try {
Thread.sleep(5000);
} catch (InterruptedException ex) {
System.out.println(ex.getLocalizedMessage());
}
i++;
}
}
}
mainClass=com.garyhodgson.test.echofabric8profile.Echo
arguments=default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment