Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TakeStock
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengjinyang
TakeStock
Commits
d92f5a82
Commit
d92f5a82
authored
Jul 25, 2019
by
pengjinyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
6509a4b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Program.cs
TakeStock.Subscriber/Program.cs
+1
-1
No files found.
TakeStock.Subscriber/Program.cs
View file @
d92f5a82
...
@@ -20,7 +20,7 @@ namespace TakeStock.Subscriber
...
@@ -20,7 +20,7 @@ namespace TakeStock.Subscriber
{
{
Init
();
Init
();
//111.230.164.154 owms-rabbitmq
//111.230.164.154 owms-rabbitmq
var
connStr
=
"host=owms-rabbitmq:5672;username=
wms;password=bailun
;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
);
var
bus
=
RabbitHutch
.
CreateBus
(
connStr
);
bus
.
SubscribeAsync
<
CreateTakeStockMessage
>(
"Create"
,
async
message
=>
await
Exec
(
message
)
bus
.
SubscribeAsync
<
CreateTakeStockMessage
>(
"Create"
,
async
message
=>
await
Exec
(
message
)
.
ContinueWith
(
task
=>
.
ContinueWith
(
task
=>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment