var bus = Bus.Factory.CreateUsingRabbitMq(x => { var host = x.Host(new Uri("rabbitmq://localhost/"), h => { }); x.ReceiveEndpoint(host, "MtPubSubExample_TestSubscriber", e => e.Consumer<SomethingHappenedConsumer>()); });
But this does not:
var bus = Bus.Factory.CreateUsingRabbitMq(x => { var host = x.Host(new Uri("rabbitmq://10.120.244.161/"), h => { }); x.ReceiveEndpoint(host, "MtPubSubExample_TestSubscriber", e => e.Consumer<SomethingHappenedConsumer>()); });Any ideas on what I am doing wrong? Should I be specifying a port with the IP or something?I also tried just the server name in place of the IP but that didnt work either.
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstransit-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/974a4ca3-84cd-43d4-aac5-628726f717fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
static void Main(string[] args) { Log4NetLogger.Use(); var bus = Bus.Factory.CreateUsingRabbitMq(x =>
{ var host = x.Host(new Uri("rabbitmq://localhost/"), h =>
{ }); x.ReceiveEndpoint(@"\\10.120.244.161\Scott", e => e.Consumer<SomethingHappenedConsumer>()); }); var busHandle = bus.Start(); Console.ReadKey(); busHandle.Stop(); }
Why doesn't it connect? Is RabbitMQ actually bound to that IP address (by default, I think it only binds to localhost).
On Fri, Sep 23, 2016 at 2:05 PM, Scott Danks <sdank...@gmail.com> wrote:
This is working:var bus = Bus.Factory.CreateUsingRabbitMq(x => { var host = x.Host(new Uri("rabbitmq://localhost/"), h => { }); x.ReceiveEndpoint(host, "MtPubSubExample_TestSubscriber", e => e.Consumer<SomethingHappenedConsumer>()); });But this does not:var bus = Bus.Factory.CreateUsingRabbitMq(x => { var host = x.Host(new Uri("rabbitmq://10.120.244.161/"), h => { }); x.ReceiveEndpoint(host, "MtPubSubExample_TestSubscriber", e => e.Consumer<SomethingHappenedConsumer>()); });Any ideas on what I am doing wrong? Should I be specifying a port with the IP or something?I also tried just the server name in place of the IP but that didnt work either.
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.