Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
tsai
CAP
Commits
55ef6152
Commit
55ef6152
authored
Feb 11, 2019
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spell error
parent
6f54e5a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
RabbitMQConsumerClient.cs
src/DotNetCore.CAP.RabbitMQ/RabbitMQConsumerClient.cs
+4
-4
No files found.
src/DotNetCore.CAP.RabbitMQ/RabbitMQConsumerClient.cs
View file @
55ef6152
...
...
@@ -13,7 +13,7 @@ namespace DotNetCore.CAP.RabbitMQ
internal
sealed
class
RabbitMQConsumerClient
:
IConsumerClient
{
private
readonly
IConnectionChannelPool
_connectionChannelPool
;
private
readonly
string
_exchageName
;
private
readonly
string
_excha
n
geName
;
private
readonly
string
_queueName
;
private
readonly
RabbitMQOptions
_rabbitMQOptions
;
private
IModel
_channel
;
...
...
@@ -28,7 +28,7 @@ namespace DotNetCore.CAP.RabbitMQ
_queueName
=
queueName
;
_connectionChannelPool
=
connectionChannelPool
;
_rabbitMQOptions
=
options
;
_exchageName
=
connectionChannelPool
.
Exchange
;
_excha
n
geName
=
connectionChannelPool
.
Exchange
;
InitClient
();
}
...
...
@@ -48,7 +48,7 @@ namespace DotNetCore.CAP.RabbitMQ
foreach
(
var
topic
in
topics
)
{
_channel
.
QueueBind
(
_queueName
,
_exchageName
,
topic
);
_channel
.
QueueBind
(
_queueName
,
_excha
n
geName
,
topic
);
}
}
...
...
@@ -95,7 +95,7 @@ namespace DotNetCore.CAP.RabbitMQ
_channel
=
_connection
.
CreateModel
();
_channel
.
ExchangeDeclare
(
_exchageName
,
_excha
n
geName
,
RabbitMQOptions
.
ExchangeType
,
true
);
...
...
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