title: Dynamic object parameter in camel consumer endpoint url
body: <p>I'm using camel with spring.
  One of our routes should send a TCP message to a dynamically selected endpoint.
  As the endpoint is just a string, I know I can use</p>
  
  <pre><code>.toD("netty4://...")
  </code></pre>
  
  <p>but the problem is with setting ssl parameters.</p>
  
  <p>Netty component defines this as route url parameter so it looks like this:</p>
  
  <pre><code>.toD("netty4://...?sslContextParameters=mySslContextParameters");
  </code></pre>
  
  <p>and to make this work I have a bean:</p>
  
  <pre><code>@Bean
  public SslContextParameters mySslContextParameters() {
      ...
      return sslContextParameters();
  }
  </code></pre>
  
  <p>This binds it to this single bean instance but what I need, is a dynamically configured bean so that I may set different parameters of the SSL based on some data I get from the producer.</p>
  
  <p>What I would like is something like this (I know this is not proper camel syntax), when I could invoke a factory method and pass some parameters to it:</p>
  
  <pre><code>.toD("netty://...?sslContextParameters=${bean('mySslContestParameters(${exchange.param1}, ${exchange.param2}')}");
  </code></pre>