System.in.read();
System.out.println("Updating the broker configuration.");
//
// The configuration update also occurs asnyc.
broker.update(createUpdate(), new Runnable() {
public void run() {
System.out.println("The configuration has been applied.");
System.out.println("Press enter to stop the broker...");
}
});