AppHarbor MassTransit CloudAMQP throws Exception N

2019-08-06 10:48发布

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条回答
【Aperson】
2楼-- · 2019-08-06 11:29

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

查看更多
登录 后发表回答