List<Binding> getMessageBusBindingsForStream(String streamName) {
		List<Binding> bindings = new ArrayList<Binding>();
		for (Binding binding : getMessageBusBindings()) {
			if (binding.getName().startsWith(streamName + ".")) {
				bindings.add(binding);
			}
		}
		return bindings;
	}
Return the number of bindings to the message bus.

@return number of bindings to the message bus
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/AbstractSingleNodeStreamDeploymentIntegrationTests.java