This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
BPA.CAP
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
update samples
master
Savorboard
6 years ago
parent
32b64ac135
commit
6a4268cd0a
2 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
samples/Sample.Kafka.MySql/Controllers/ValuesController.cs
+0
-2
samples/Sample.Kafka.MySql/Startup.cs
+ 1
- 1
samples/Sample.Kafka.MySql/Controllers/ValuesController.cs
View File
@@ -26,7 +26,7 @@ namespace Sample.Kafka.MySql.Controllers
//your business code here
await _capBus.PublishAsync("xxx.xxx.test2", 123456
, transaction
);
await _capBus.PublishAsync("xxx.xxx.test2", 123456);
transaction.Commit();
}
+ 0
- 2
samples/Sample.Kafka.MySql/Startup.cs
View File
@@ -21,8 +21,6 @@ namespace Sample.Kafka.MySql
public void Configure(IApplicationBuilder app)
{
app.UseMvc();
app.UseCap();
}
}
}
Write
Preview
Loading…
Cancel
Save