@Override
	protected void verifyDynamicProperties(MessageBus bus, String type) {
		@SuppressWarnings("unchecked")
		List<Binding> bindings = TestUtils.getPropertyValue(bus, "messageBus.bindings", List.class);
		for (Binding binding : bindings) {
			if (binding.getEndpoint().getComponentName().equals("outbound." + type + ":x")) {
				assertEquals(MessageDeliveryMode.PERSISTENT, TestUtils.getPropertyValue(binding.getEndpoint(),
						"handler.delegate.defaultDeliveryMode", MessageDeliveryMode.class));
			}
			else if (binding.getEndpoint().getComponentName().matches("outbound." + type + ":(y|z)")) {
				assertEquals(MessageDeliveryMode.NON_PERSISTENT, TestUtils.getPropertyValue(binding.getEndpoint(),
						"handler.delegate.defaultDeliveryMode", MessageDeliveryMode.class));
			}
		}
	}
@author Mark Fisher
@author Gary Russell
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/RabbitSingleNodeStreamDeploymentIntegrationTests.java