AppHarbor MassTransit CloudAMQP throws Exception None of the specified endpoints were reachable

▼魔方 西西 提交于 2019-12-11 09:15:21

问题


I am trying to use Masstransit with CloudAMQP LEMUR from my AppHarbor application, but I am receiving the exception:

"None of the specified endpoints were reachable"

This is how Masstransit is configured:

Bus.Initialize(sbc =>
                     {
                         sbc.UseRabbitMq();
                         sbc.UseRabbitMqRouting();
                         sbc.ReceiveFrom("rabbitmq://********-243c-4e49-87fd-ed809c4839f1_apphb.com:EKhooikZAc9SM5t2YW2uc7RGoeFLD7Nv@bunny.cloudamqp.com/7752f6ce-243c-4e49-87fd-ed809c4839f1_apphb.com");
                         sbc.Subscribe(subs => subs.Handler<CreateTweetCommand>((message) => .......................................      

The versions that I am using are: MassTransit 2.6.3
MassTransit.RabbitMQ.2.6.3
RabbitMQ.Client.2.8.7
Magnum.2.0.1.0

How can I solve this error?

Thanks


回答1:


Finally It is working, thanks to @Carl Hörberg comments.

I have created a queue and added to my rabbitmq URL, and everything is working fine now.

Thanks guys for the support



来源:https://stackoverflow.com/questions/13089807/appharbor-masstransit-cloudamqp-throws-exception-none-of-the-specified-endpoints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!