
Performance Tuning
51
where Value is a value in milliseconds. By default, messages expire after one day (86400000 milliseconds).
Examples
To cause unprocessed events to expire if they have not been processed within one hour (for example, if zen-
eventd backs up in an event storm), uncomment the line:
# queue.$RawZenEvents.x-message-ttl = 3600000
To cause processed events to expire if they have not been persisted within one hour (for example, if zeneventd
backs up in an event storm), uncomment the line:
queue.$ZepZenEvents.x-message-ttl = 3600000
6.7.4. Queue Expiration
You can configure unused queues to be deleted automatically after a period of time. "Unused" means that the
queue has no consumers, and has not been re-declared.
To change default queue expiration, edit the following line:
queue.default.x-expires = Value
where Value is a value in milliseconds. By default, queues expire after one day (86400000 seconds).
Kommentare zu diesen Handbüchern