title: Spring XD: separate configuration for multiple module instances
body: <p>My Spring XD stream definitions contain references to the same custom module but with different configuration parameters, e.g.</p>
  
  <pre><code>stream create --name mystream1 --definition "tcp --port=4444 | mycustommod --myprop='very long property value 1'" | log"
  stream create --name mystream2 --definition "tcp --port=5555 | mycustommod --myprop='very long property value 2'" | log"
  </code></pre>
  
  <p>I can put long module configuration into an external module configuration file. But that works only for the first module instance. For the rest of the module instances that I'm using in my stream definitions I have to override the externalized config in the stream definition directly.</p>
  
  <p>That bloats the stream definitions if I have many [or long] property values to override.</p>
  
  <p>Is there a way to put different module <em>instance</em> configurations to the external config files just in order to keep the stream definitions clear?</p>