Commit c52c0aa5 by pengjinyang

提交

parent 099091af
......@@ -17,7 +17,7 @@ namespace TakeStock.Subscriber
try
{
Init();
var connStr = "host=111.230.164.154:5672;username=bailun;password=1234abcd;prefetchcount=2;publisherConfirms=true;timeout=10";
var connStr = "host=owms-rabbitmq:5672;username=bailun;password=1234abcd;prefetchcount=2;publisherConfirms=true;timeout=10";
var bus = RabbitHutch.CreateBus(connStr);
bus.SubscribeAsync<CreateTakeStockMessage>("Create", async message => await Exec(message)
.ContinueWith(task =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment