pollingInterval property

Duration pollingInterval
final

The time between two request to the REST-API for new messages.

Default value is 1 second. The first startConsuming is the starting point and the last stopConsuming resets it. If the polling takes longer than this duration the next poll cycle is started immediately.

Implementation

final Duration pollingInterval;