Class AbstractSubscribableChannel
Inheritance
System.Object
AbstractSubscribableChannel
Implements
IMessageChannel
ISubscribableChannel
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public abstract class AbstractSubscribableChannel : AbstractMessageChannel, IChannelInterceptorAware
Constructors
|
Edit this page
View Source
AbstractSubscribableChannel(IApplicationContext, IMessageDispatcher, ILogger)
Declaration
protected AbstractSubscribableChannel(IApplicationContext context, IMessageDispatcher dispatcher, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
IMessageDispatcher |
dispatcher |
|
ILogger |
logger |
|
|
Edit this page
View Source
AbstractSubscribableChannel(IApplicationContext, IMessageDispatcher, String, ILogger)
Declaration
protected AbstractSubscribableChannel(IApplicationContext context, IMessageDispatcher dispatcher, string name, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
IMessageDispatcher |
dispatcher |
|
System.String |
name |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
Dispatcher
Declaration
public IMessageDispatcher Dispatcher { get; }
Property Value
|
Edit this page
View Source
Failover
Declaration
public virtual bool Failover { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
MaxSubscribers
Declaration
public virtual int MaxSubscribers { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
SubscriberCount
Declaration
public virtual int SubscriberCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
DoSendInternal(IMessage, CancellationToken)
Declaration
protected override bool DoSendInternal(IMessage message, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
Subscribe(IMessageHandler)
Declaration
public virtual bool Subscribe(IMessageHandler handler)
Parameters
Type |
Name |
Description |
IMessageHandler |
handler |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Unsubscribe(IMessageHandler)
Declaration
public virtual bool Unsubscribe(IMessageHandler handler)
Parameters
Type |
Name |
Description |
IMessageHandler |
handler |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
IMessageChannel
ISubscribableChannel