@Override
	protected String toDSL() {
		return String.format(
				"mail --usePolling=true --port=%d --protocol=%s --folder=%s --username=%s --password=%s --fixedDelay=1",
				port, protocol,
				folder, ADMIN_USER, ADMIN_PASSWORD);
	}
Fixture that represents the mail source module, which uses polling (here forced to 1s).

@author Eric Bottard
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/PollingMailSource.java