* Get rid of JsonPropertyName attributes in PubSubConfig
- The Dependency Injection framework (based around dotnet ApplicationBuilder)
does not support this attribute, and maps property names verbatim to json fields.
* Change PubSubServer json fields to match cs class property names verbatim
17 lines
527 B
C#
17 lines
527 B
C#
namespace Bts.PubSub.Server;
|
|
|
|
using bts;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
/// <summary>
|
|
/// An instance of this interface is passed to the (<see cref="InternalPublisher"/>) so it can enqueue
|
|
/// messages to be published. It is also passed to the <see cref="BCG.PubSubMessageReactor"/>, so it
|
|
/// can dequeue these messages and send them over the wire.
|
|
/// </summary>
|
|
interface IInternalPublisherQueue {
|
|
void Enqueue(PublishMsg message);
|
|
List<PublishMsg> DequeueMultiple(TimeSpan ts, int maxElements);
|
|
}
|