I would imagine that random queue is the reply-to queue generated because you are trying to send to an exchange and expect a response. I see you have set the pattern to InOnly but normally I set the exchange pattern at route level. By the way have you checked that the routingkey you are using to send matches the binding on that echange`? I.e. the binding is for that queue you want to send to.
On Tue, Dec 6, 2016 at 1:43 AM, kaiser75 [via Camel] < ml-node+s465427n5791070...@n5.nabble.com> wrote: > I was going through the documentation for rabbitmq: component. > > Where can I send the queue name as a parameter in the URI? > > When I tried this <to uri="rabbitmq://localhost:5672/orders.error? > connectionFactory=#customConnectionFactory" > pattern="InOnly" /> > > where orders.error is the name of the queue , a random queue with a UUID > as a name is created. How do I route my message to the a named queue. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Rabbitmq-URI-tp5791070.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/Rabbitmq-URI-tp5791070p5791082.html Sent from the Camel - Users mailing list archive at Nabble.com.