Package io.elastic.sailor.impl
Class ReboundCallback
java.lang.Object
io.elastic.sailor.impl.CountingCallbackImpl
io.elastic.sailor.impl.ReboundCallback
- All Implemented Interfaces:
EventEmitter.Callback
,CountingCallback
-
Constructor Summary
ConstructorsConstructorDescriptionReboundCallback
(ExecutionContext executionContext, MessagePublisher messagePublisher, CryptoServiceImpl cipher, Integer reboundLimit, Integer reboundInitialExpiration, String routingKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
getReboundExpiration
(int reboundIteration) protected com.rabbitmq.client.AMQP.BasicProperties
makeReboundOptions
(Map<String, Object> headers, Integer expiration) void
receiveData
(Object data) Methods inherited from class io.elastic.sailor.impl.CountingCallbackImpl
getCount, receive
-
Constructor Details
-
ReboundCallback
@Inject public ReboundCallback(ExecutionContext executionContext, MessagePublisher messagePublisher, CryptoServiceImpl cipher, Integer reboundLimit, Integer reboundInitialExpiration, String routingKey)
-
-
Method Details
-
receiveData
- Specified by:
receiveData
in classCountingCallbackImpl
-
getReboundExpiration
-
makeReboundOptions
-