Package io.smallrye.reactive.messaging
Interface MediatorConfiguration
public interface MediatorConfiguration
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.Bean<?>
getBean()
boolean
Implementation of theInvoker
interface that can be used to invoke the method described by this configuration The invoker class can either have a no-arg constructor in which case it's expected to be look up the bean programmatically, or have a constructor that takes a single Object parameter - the bean to operate onClass<? extends KeyValueExtractor>
getKeyed()
getMerge()
int
Deprecated.Class<?>
boolean
boolean
boolean
shape()
boolean
boolean
-
Method Details
-
shape
Shape shape() -
getOutgoing
Deprecated. -
getOutgoings
-
getIncoming
-
methodAsString
String methodAsString() -
getMethod
Method getMethod() -
getReturnType
Class<?> getReturnType() -
consumption
MediatorConfiguration.Consumption consumption() -
production
MediatorConfiguration.Production production() -
usesReactiveStreams
boolean usesReactiveStreams() -
usesBuilderTypes
boolean usesBuilderTypes() -
getAcknowledgment
Acknowledgment.Strategy getAcknowledgment() -
getMerge
Merge.Mode getMerge() -
getBroadcast
boolean getBroadcast() -
getBean
jakarta.enterprise.inject.spi.Bean<?> getBean() -
getNumberOfSubscriberBeforeConnecting
int getNumberOfSubscriberBeforeConnecting() -
isBlocking
boolean isBlocking() -
getWorkerPoolName
String getWorkerPoolName() -
isBlockingExecutionOrdered
boolean isBlockingExecutionOrdered() -
getInvokerClass
Implementation of theInvoker
interface that can be used to invoke the method described by this configuration The invoker class can either have a no-arg constructor in which case it's expected to be look up the bean programmatically, or have a constructor that takes a single Object parameter - the bean to operate on -
getIngestedPayloadType
Type getIngestedPayloadType()- Returns:
- the discovered ingested payload type. May be
null
if there is no consumption or the type cannot be extracted. Conversion is based on this type.
-
getKeyType
Type getKeyType()- Returns:
- the key type when using the
KeyValueExtractor
,null
otherwise.
-
getValueType
Type getValueType()- Returns:
- the value type when using the
KeyValueExtractor
,null
otherwise.
-
getKeyed
Class<? extends KeyValueExtractor> getKeyed() -
getParameterDescriptor
MethodParameterDescriptor getParameterDescriptor() -
hasTargetedOutput
boolean hasTargetedOutput()
-