class MessagePublisher implements AutoCloseable {

	synchronized void updateRoute(Route route, List<MessageProducer> producers) {
		LoggingService.logDebug(MODULE_NAME, "Updating route");
		this.route = route;
		this.producers = producers;
	}

	public  MessagePublisher(String name, Route route, List<MessageProducer> producers);

}