protected Map<String, List<String>> cleanRabbitBus(String stream, String adminUri, String user, String pw,
			String vhost, String busPrefix, boolean isJob) {
		Map<String, List<String>> results = busCleaner.clean(adminUri, user, pw, vhost, busPrefix, stream, isJob);
		if (results == null || results.size() == 0) {
			throw new NothingToDeleteException("Nothing to delete for stream " + stream);
		}
		return results;
	}
Create a new resource definition.

@param name The name of the entity to create (required)
@param definition The entity definition, expressed in the XD DSL (required)
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/XDController.java