spring-projects/spring-xd — pull request #465 by dturanski (2013-12-12 16:10:17+00:00)
Title: XD-1148 allow local data transport in XD node

Currently controlTransport defaults to transport. So xd-container --transport=local is invalid whereas it is valid for other values (redis, rabbit). This edge case is not ideal but I like not having to explicitly define transport and controlTransport, each with the same value. This PR adds some error handling to catch this: running LauncherApplication with --transport=local results in the following on SYSERR:

the value 'local' is not allowed for property 'XD_CONTROL_TRANSPORT'
If not explicitly provided, the default value of 'XD_CONTROL_TRANSPORT' assumes the value provided for 'XD_TRANSPORT'

I'm open to other ideas...