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
725b4677
Commit
725b4677
authored
Jun 29, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ExchangeName and ExchangeType config.
parent
b69e355e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
CAP.RabbiMQOptions.cs
src/DotNetCore.CAP.RabbitMQ/CAP.RabbiMQOptions.cs
+13
-0
No files found.
src/DotNetCore.CAP.RabbitMQ/CAP.RabbiMQOptions.cs
View file @
725b4677
...
...
@@ -25,9 +25,17 @@
/// <remarks> PLEASE KEEP THIS MATCHING THE DOC ABOVE.</remarks>
public
const
string
DefaultVHost
=
"/"
;
/// <summary>
/// Default exchange name (value: "cap").
/// </summary>
public
const
string
DefaultExchangeName
=
"cap"
;
/// <summary>The host to connect to.</summary>
public
string
HostName
{
get
;
set
;
}
=
"localhost"
;
/// <summary> The topic exchange type. </summary>
internal
string
EXCHANGE_TYPE
=
"topic"
;
/// <summary>
/// Password to use when authenticating to the server.
/// </summary>
...
...
@@ -43,6 +51,11 @@
/// </summary>
public
string
VirtualHost
{
get
;
set
;
}
=
DefaultVHost
;
/// <summary>
/// Topic exchange name when declare a topic exchange.
/// </summary>
public
string
TopicExchangeName
{
get
;
set
;
}
=
DefaultExchangeName
;
/// <summary>
/// Timeout setting for connection attempts (in milliseconds).
/// </summary>
...
...
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