Class AbstractBinder<T>
Inheritance
System.Object
AbstractBinder<T>
Implements
IServiceNameAware
IDisposable
Assembly: Steeltoe.Stream.StreamBase.dll
Syntax
public abstract class AbstractBinder<T> : object, IBinder<T>, IBinder
Type Parameters
Constructors
|
Edit this page
View Source
AbstractBinder(IApplicationContext, ILogger)
Declaration
protected AbstractBinder(IApplicationContext context, ILogger logger)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
ApplicationContext
Declaration
public virtual IApplicationContext ApplicationContext { get; }
Property Value
Type |
Description |
IApplicationContext |
|
|
Edit this page
View Source
EvaluationContext
Declaration
protected virtual IEvaluationContext EvaluationContext { get; set; }
Property Value
Type |
Description |
IEvaluationContext |
|
|
Edit this page
View Source
ExpressionParser
Declaration
protected virtual IExpressionParser ExpressionParser { get; set; }
Property Value
Type |
Description |
IExpressionParser |
|
|
Edit this page
View Source
ServiceName
Declaration
public abstract string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
TargetType
Declaration
public abstract Type TargetType { get; }
Property Value
Methods
|
Edit this page
View Source
ApplyPrefix(String, String)
Declaration
public static string ApplyPrefix(string prefix, string name)
Parameters
Type |
Name |
Description |
System.String |
prefix |
|
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
BindConsumer(String, String, T, IConsumerOptions)
Declaration
public virtual IBinding BindConsumer(string name, string group, T inboundTarget, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
group |
|
T |
inboundTarget |
|
IConsumerOptions |
consumerOptions |
|
Returns
|
Edit this page
View Source
BindConsumer(String, String, Object, IConsumerOptions)
Declaration
public virtual IBinding BindConsumer(string name, string group, object inboundTarget, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
group |
|
System.Object |
inboundTarget |
|
IConsumerOptions |
consumerOptions |
|
Returns
|
Edit this page
View Source
BindProducer(String, T, IProducerOptions)
Declaration
public virtual IBinding BindProducer(string name, T outboundTarget, IProducerOptions producerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
T |
outboundTarget |
|
IProducerOptions |
producerOptions |
|
Returns
|
Edit this page
View Source
BindProducer(String, Object, IProducerOptions)
Declaration
public virtual IBinding BindProducer(string name, object outboundTarget, IProducerOptions producerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
outboundTarget |
|
IProducerOptions |
producerOptions |
|
Returns
|
Edit this page
View Source
BuildRetryTemplate(IConsumerOptions)
Declaration
protected RetryTemplate BuildRetryTemplate(IConsumerOptions options)
Parameters
Returns
Type |
Description |
RetryTemplate |
|
|
Edit this page
View Source
ConstructDLQName(String)
Declaration
public static string ConstructDLQName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Dispose()
Declaration
public abstract void Dispose()
|
Edit this page
View Source
DoBindConsumer(String, String, T, IConsumerOptions)
Declaration
protected abstract IBinding DoBindConsumer(string name, string group, T inputTarget, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
group |
|
T |
inputTarget |
|
IConsumerOptions |
consumerOptions |
|
Returns
|
Edit this page
View Source
DoBindProducer(String, T, IProducerOptions)
Declaration
protected abstract IBinding DoBindProducer(string name, T outboundTarget, IProducerOptions producerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
T |
outboundTarget |
|
IProducerOptions |
producerOptions |
|
Returns
|
Edit this page
View Source
GetRetryableExceptions(List<String>)
Declaration
protected Dictionary<Type, bool> GetRetryableExceptions(List<string> exceptionList)
Parameters
Type |
Name |
Description |
List<System.String> |
exceptionList |
|
Returns
Type |
Description |
Dictionary<Type, System.Boolean> |
|
|
Edit this page
View Source
GroupedName(String, String)
Declaration
protected virtual string GroupedName(string name, string group)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
group |
|
Returns
Type |
Description |
System.String |
|
Implements
IServiceNameAware
IDisposable