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
7dace041
Commit
7dace041
authored
Sep 12, 2018
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
2e1fd306
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
README.md
README.md
+2
-2
README.zh-cn.md
README.zh-cn.md
+4
-5
No files found.
README.md
View file @
7dace041
# CAP [中文](https://github.com/dotnetcore/CAP/blob/develop/README.zh-cn.md)
[

](https://travis-ci.org/dotnetcore/CAP)
[

](https://ci.appveyor.com/project/yuleyule66/cap)
[

](https://ci.appveyor.com/project/yuleyule66/cap)
[

](https://www.nuget.org/packages/DotNetCore.CAP/)
[

](https://www.nuget.org/packages/DotNetCore.CAP/)
[

](https://github.com/dotnetcore)
...
...
@@ -157,7 +157,7 @@ namespace BusinessCode.Service
{
public
interface
ISubscriberService
{
public
void
CheckReceivedMessage
(
DateTime
person
);
public
void
CheckReceivedMessage
(
DateTime
datetime
);
}
public
class
SubscriberService
:
ISubscriberService
,
ICapSubscribe
...
...
README.zh-cn.md
View file @
7dace041
# CAP [English](https://github.com/dotnetcore/CAP/blob/develop/README.md)
[

](https://travis-ci.org/dotnetcore/CAP)
[

](https://ci.appveyor.com/project/yuleyule66/cap)
[

](https://ci.appveyor.com/project/yuleyule66/cap)
[

](https://www.nuget.org/packages/DotNetCore.CAP/)
[

](https://www.nuget.org/packages/DotNetCore.CAP/)
[

](https://github.com/dotnetcore)
...
...
@@ -166,7 +166,7 @@ namespace xxx.Service
{
public
interface
ISubscriberService
{
public
void
CheckReceivedMessage
(
Person
person
);
public
void
CheckReceivedMessage
(
DateTime
datetime
);
}
public
class
SubscriberService
:
ISubscriberService
,
ICapSubscribe
...
...
@@ -215,9 +215,9 @@ public void ShowTime2(DateTime datetime)
}
```
`ShowTime1`
and
`ShowTime2`
are In different groups, they will be called at the same time.
`ShowTime1`
和
`ShowTime2`
处于不同的组,他们将会被同时调用。
BTW, You can specify the default group name in the configuration :
PS,你可以通过下面的方式来指定默认的消费者组名称:
```
C#
services.AddCap(x =>
...
...
@@ -227,7 +227,6 @@ services.AddCap(x =>
```
### Dashboard
CAP 2.1+ 以上版本中提供了仪表盘(Dashboard)功能,你可以很方便的查看发出和接收到的消息。除此之外,你还可以在仪表盘中实时查看发送或者接收到的消息。
...
...
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