Package io.smallrye.reactive.messaging
Interface MediatorConfiguration
public interface MediatorConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.Bean<?>getBean()booleanImplementation of theInvokerinterface 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()intDeprecated.Class<?>booleanbooleanbooleanshape()booleanboolean
-
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 theInvokerinterface 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
nullif 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,nullotherwise.
-
getValueType
Type getValueType()- Returns:
- the value type when using the
KeyValueExtractor,nullotherwise.
-
getKeyed
Class<? extends KeyValueExtractor> getKeyed() -
getParameterDescriptor
MethodParameterDescriptor getParameterDescriptor() -
hasTargetedOutput
boolean hasTargetedOutput()
-