Uses of Class
dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
Packages that use DurableLocalCommandBusBuilder
-
Uses of DurableLocalCommandBusBuilder in dk.cloudcreate.essentials.components.foundation.reactive.command
Methods in dk.cloudcreate.essentials.components.foundation.reactive.command that return DurableLocalCommandBusBuilderModifier and TypeMethodDescriptionDurableLocalCommandBusBuilder.addInterceptors(dk.cloudcreate.essentials.reactive.command.interceptor.CommandBusInterceptor... interceptors) Add additionalCommandBusInterceptor's to useDurableLocalCommandBusBuilder.addInterceptors(List<dk.cloudcreate.essentials.reactive.command.interceptor.CommandBusInterceptor> interceptors) Add additionalCommandBusInterceptor's to useDurableLocalCommandBus.builder()Builder for aDurableLocalCommandBusBuilderDurableLocalCommandBusBuilder.setCommandQueueName(QueueName commandQueueName) Set the name of theDurableQueuesthat will be used queuing commands sent usingDurableLocalCommandBus.sendAndDontWait(Object)
Defaults toDurableLocalCommandBus.DEFAULT_COMMAND_QUEUE_NAMEDurableLocalCommandBusBuilder.setCommandQueueRedeliveryPolicy(RedeliveryPolicy commandQueueRedeliveryPolicy) Set theRedeliveryPolicyused when handling queued commands sent usingDurableLocalCommandBus.sendAndDontWait(Object)Defaults toDurableLocalCommandBus.DEFAULT_REDELIVERY_POLICY.
Example:DurableLocalCommandBusBuilder.setDurableQueues(DurableQueues durableQueues) Set the underlying Durable Queues providerDurableLocalCommandBusBuilder.setInterceptors(dk.cloudcreate.essentials.reactive.command.interceptor.CommandBusInterceptor... interceptors) Set all theCommandBusInterceptor's to useDurableLocalCommandBusBuilder.setInterceptors(List<dk.cloudcreate.essentials.reactive.command.interceptor.CommandBusInterceptor> interceptors) Set all theCommandBusInterceptor's to useDurableLocalCommandBusBuilder.setParallelSendAndDontWaitConsumers(int parallelSendAndDontWaitConsumers) Set how many parallelDurableQueuesconsumers should listen for messages added usingCommandBus.sendAndDontWait(Object)/CommandBus.sendAndDontWait(Object, Duration)
Defaults to 10DurableLocalCommandBusBuilder.setSendAndDontWaitErrorHandler(dk.cloudcreate.essentials.reactive.command.SendAndDontWaitErrorHandler sendAndDontWaitErrorHandler) Set the Exception handler that will handle errors that occur duringCommandBus.sendAndDontWait(Object)/CommandBus.sendAndDontWait(Object, Duration).