Well no..

your code says:

<from uri="rabbitmq://localhost:5672/rabbit?sslProtocol=true"/>

Camel does not have an embedded rabbitmq server. It will always try to
connect to  rabbitmq server and then act as a consumer or publisher.

The hostname is the hostname of the rabbitmq server.

If you cannot reach it, then is the URL correct? Have you enabled the webui
plugin? See
http://www.thegeekstuff.com/2013/10/enable-rabbitmq-management-plugin/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheGeekStuff+(The+Geek+Stuff)

So in summary:
1. Camel does not have an embedded rabbitmq server. You need one yourself.
2. The from("rabbitmq...") means Camel wants to connect RabbitMQ and
consume from some exchange. These options need to be available to the user
which Camel is using to connect with.

On Wed, Jul 20, 2016 at 9:51 PM, jkam...@caci.com [via Camel] <
ml-node+s465427n5785300...@n5.nabble.com> wrote:

> souciance wrote
> Ok my bad, I meant http://<rabbitmq_hostname>:15672 and substitute the
> hostname for the real one.
>
> I am assuming here that the <rabbitmq_hostname> is referring to the server
> running camel along with the camel-rabbit component AND NOT the server
> running rabbitmq.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/How-can-I-configure-Camel-ActiveMQ-to-receive-from-an-external-RabbitMQ-producer-tp5785283p5785300.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/How-can-I-configure-Camel-ActiveMQ-to-receive-from-an-external-RabbitMQ-producer-tp5785283p5785301.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to