title: ResolveEndpointFailedException: "There are 1 parameters that couldn't be set on the endpoint." when creating endpoint with the endpoint DSL
body: <p>I am migrating from Camel 2 to Camel 3 and I'm eager to use the Endpoint DSL described <a href="https://camel.apache.org/blog/Camel3-Whatsnew/" rel="nofollow noreferrer">here</a>, however I'm running into an issue when migrating my endpoints.</p>
  
  <p>I used to have a route writing to a RabbitMQ queue like this:</p>
  
  <pre><code>.toD("rabbitmq:$vhost?connectionFactory=#customConnectionFactory&amp;queue=$responseQueueName&amp;autoDelete=false&amp;routingKey=$responseQueueName&amp;bridgeEndpoint=true")
  </code></pre>
  
  <p>Which I migrated to</p>
  
  <pre><code>.toD(
      rabbitmq(vhost)
      .connectionFactory(connectionFactory)
      .queue(responseQueueName)
      .autoDelete(false)
      .routingKey(responseQueueName)
      .bridgeEndpoint(true)
  </code></pre>
  
  <p>However, when creating the endpoint, Camel also adds a <code>hash</code> parameter that cannot be set to the endpoint, resulting in the following exception:</p>
  
  <blockquote>
    <p>Failed to resolve endpoint: rabbitmq://MYVHOST?autoDelete=false&amp;bridgeEndpoint=true&amp;hash=753a744c&amp;queue=MYQUEUENAME&amp;routingKey=MYQUEUENAME due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{hash=753a744c}]</p>
  </blockquote>
  
  <p>My endpoint syntax is correct, AFAIK, because I'm using an endpoint created the same way in the <code>from</code> clause of my route.</p>