Browse Source

Merge branch 'develop' of https://github.com/dotnetcore/CAP into develop

undefined
Savorboard 6 years ago
parent
commit
c9cea852fd
6 changed files with 4 additions and 23 deletions
  1. +0
    -0
      src/DotNetCore.CAP.Kafka/IConnectionPool.Default.cs
  2. +0
    -0
      src/DotNetCore.CAP.RabbitMQ/IConnectionChannelPool.Default.cs
  3. +1
    -1
      src/DotNetCore.CAP/Abstractions/CapPublisherBase.cs
  4. +2
    -2
      src/DotNetCore.CAP/ICapPublisher.cs
  5. +1
    -1
      src/DotNetCore.CAP/ICapSubscribe.cs
  6. +0
    -19
      src/DotNetCore.CAP/IFetchedMessage.cs

src/DotNetCore.CAP.Kafka/ConnectionPool.cs → src/DotNetCore.CAP.Kafka/IConnectionPool.Default.cs View File


src/DotNetCore.CAP.RabbitMQ/ConnectionChannelPool.cs → src/DotNetCore.CAP.RabbitMQ/IConnectionChannelPool.Default.cs View File


+ 1
- 1
src/DotNetCore.CAP/Abstractions/CapPublisherBase.cs View File

@@ -132,7 +132,7 @@ namespace DotNetCore.CAP.Abstractions
{
throw new InvalidOperationException(
"If you are using the EntityFramework, you need to configure the DbContextType first." +
" otherwise you need to use overloaded method with IDbConnection and IDbTransaction.");
" otherwise you need to use overloaded method with IDbTransaction.");
}
}



+ 2
- 2
src/DotNetCore.CAP/ICapPublisher.cs View File

@@ -15,7 +15,7 @@ namespace DotNetCore.CAP
/// (EntityFramework) Asynchronous publish a object message.
/// <para>
/// If you are using the EntityFramework, you need to configure the DbContextType first.
/// otherwise you need to use overloaded method with IDbConnection and IDbTransaction.
/// otherwise you need to use overloaded method with IDbTransaction.
/// </para>
/// </summary>
/// <typeparam name="T">The type of content object.</typeparam>
@@ -28,7 +28,7 @@ namespace DotNetCore.CAP
/// (EntityFramework) Publish a object message.
/// <para>
/// If you are using the EntityFramework, you need to configure the DbContextType first.
/// otherwise you need to use overloaded method with IDbConnection and IDbTransaction.
/// otherwise you need to use overloaded method with IDbTransaction.
/// </para>
/// </summary>
/// <typeparam name="T">The type of content object.</typeparam>


+ 1
- 1
src/DotNetCore.CAP/ICapSubscribe.cs View File

@@ -4,7 +4,7 @@
namespace DotNetCore.CAP
{
/// <summary>
/// An empty interface, which is used to mark the current class have a CAP methods.
/// An empty interface, which is used to mark the current class have a CAP subscriber methods.
/// </summary>
public interface ICapSubscribe
{


+ 0
- 19
src/DotNetCore.CAP/IFetchedMessage.cs View File

@@ -1,19 +0,0 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;
using DotNetCore.CAP.Models;

namespace DotNetCore.CAP
{
public interface IFetchedMessage : IDisposable
{
int MessageId { get; }

MessageType MessageType { get; }

void RemoveFromQueue();

void Requeue();
}
}

Loading…
Cancel
Save