camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From souciance <souciance.eqdam.ras...@gmail.com>
Subject Re: How can I configure Camel/ActiveMQ to receive from an external RabbitMQ producer?
Date Wed, 20 Jul 2016 19:22:46 GMT
Aha, but once you start the rabbitmq endpoint on Camel it will try to
connect to whichever hostname you defined. If that hostname is not yet
available you will get connect refused. Camel will try to connect on
startup, if you don't want this, then disable the rabbit stuff until you
have the rabbit server running.

What I mean is, you have the code:

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

This will try to connect to rabbit on localhost on startup (when the route
starts). So either disable the route as not to start or replace it with a
"direct" uri for now until you get rabbit running.

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

> souciance wrote
> There is a rest API to connect and off course the RabbitMQ webgui is good
> too.
>
> On Wed, Jul 20, 2016 at 7:50 PM, Ranx [via Camel] <
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5785294&i=0>>
> wrote:
>
> > I've not used RabbitMQ so can't give much insight there but wonder if
> you
> > have an independent way to verify the connection:
> >
> > rabbitmq://localhost:5672/rabbit
> >
> > Is there a rabbitmq equivalent of curl to connect?
>
> I'm not running the rabbit-server on the camel/activeMQ box so I'm not
> sure this will help just yet. I am trying to get a queue set up on the
> camel/activemq server to which the external rabbitmq producer will *eventually
> *be able to communicate.  It's when I fire up the Camel process that I
> start seeing these errors in the logs. No messages are even being sent yet.
>
> ------------------------------
> 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-tp5785283p5785294.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428h31@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-tp5785283p5785295.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message