Package io.smallrye.reactive.messaging
Class DefaultMediatorConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.DefaultMediatorConfiguration
-
- All Implemented Interfaces:
MediatorConfiguration
public class DefaultMediatorConfiguration extends Object implements MediatorConfiguration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.MediatorConfiguration
MediatorConfiguration.Consumption, MediatorConfiguration.Production
-
-
Constructor Summary
Constructors Constructor Description DefaultMediatorConfiguration(Method method, javax.enterprise.inject.spi.Bean<?> bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(Incomings incomings, Outgoing outgoing, Blocking blocking)voidcompute(List<Incoming> incomings, Outgoing outgoing, Blocking blocking)MediatorConfiguration.Consumptionconsumption()Acknowledgment.StrategygetAcknowledgment()javax.enterprise.inject.spi.Bean<?>getBean()booleangetBroadcast()List<String>getIncoming()Class<? extends Invoker>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 onMerge.ModegetMerge()MethodgetMethod()intgetNumberOfSubscriberBeforeConnecting()StringgetOutgoing()Class<?>[]getParameterTypes()Class<?>getReturnType()StringgetWorkerPoolName()booleanisBlocking()booleanisBlockingExecutionOrdered()StringmethodAsString()MediatorConfiguration.Productionproduction()Shapeshape()booleanusesBuilderTypes()
-
-
-
Constructor Detail
-
DefaultMediatorConfiguration
public DefaultMediatorConfiguration(Method method, javax.enterprise.inject.spi.Bean<?> bean)
-
-
Method Detail
-
shape
public Shape shape()
- Specified by:
shapein interfaceMediatorConfiguration
-
getOutgoing
public String getOutgoing()
- Specified by:
getOutgoingin interfaceMediatorConfiguration
-
getIncoming
public List<String> getIncoming()
- Specified by:
getIncomingin interfaceMediatorConfiguration
-
methodAsString
public String methodAsString()
- Specified by:
methodAsStringin interfaceMediatorConfiguration
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfaceMediatorConfiguration
-
getReturnType
public Class<?> getReturnType()
- Specified by:
getReturnTypein interfaceMediatorConfiguration
-
getParameterTypes
public Class<?>[] getParameterTypes()
- Specified by:
getParameterTypesin interfaceMediatorConfiguration
-
consumption
public MediatorConfiguration.Consumption consumption()
- Specified by:
consumptionin interfaceMediatorConfiguration
-
production
public MediatorConfiguration.Production production()
- Specified by:
productionin interfaceMediatorConfiguration
-
usesBuilderTypes
public boolean usesBuilderTypes()
- Specified by:
usesBuilderTypesin interfaceMediatorConfiguration
-
getAcknowledgment
public Acknowledgment.Strategy getAcknowledgment()
- Specified by:
getAcknowledgmentin interfaceMediatorConfiguration
-
getMerge
public Merge.Mode getMerge()
- Specified by:
getMergein interfaceMediatorConfiguration
-
getBroadcast
public boolean getBroadcast()
- Specified by:
getBroadcastin interfaceMediatorConfiguration
-
getBean
public javax.enterprise.inject.spi.Bean<?> getBean()
- Specified by:
getBeanin interfaceMediatorConfiguration
-
getNumberOfSubscriberBeforeConnecting
public int getNumberOfSubscriberBeforeConnecting()
- Specified by:
getNumberOfSubscriberBeforeConnectingin interfaceMediatorConfiguration
-
isBlocking
public boolean isBlocking()
- Specified by:
isBlockingin interfaceMediatorConfiguration
-
getWorkerPoolName
public String getWorkerPoolName()
- Specified by:
getWorkerPoolNamein interfaceMediatorConfiguration
-
isBlockingExecutionOrdered
public boolean isBlockingExecutionOrdered()
- Specified by:
isBlockingExecutionOrderedin interfaceMediatorConfiguration
-
getInvokerClass
public Class<? extends Invoker> getInvokerClass()
Description copied from interface:MediatorConfigurationImplementation 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- Specified by:
getInvokerClassin interfaceMediatorConfiguration
-
-