Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not set expiryDelay greater than 24 days #1098

Open
olivierboudet opened this issue Feb 21, 2025 · 1 comment
Open

Can not set expiryDelay greater than 24 days #1098

olivierboudet opened this issue Feb 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@olivierboudet
Copy link

Describe the bug
In addressSetting the type of expiryDelay is int32, so its max value is 2147483647.
As expiryDelay is milliseconds, it is not possible to set expiration to a value greater than around 24 days.

Tip

Vote this issue reacting with 👍 or 👎

@olivierboudet olivierboudet added the bug Something isn't working label Feb 21, 2025
@brusdev
Copy link
Contributor

brusdev commented Feb 25, 2025

@olivierboudet the field AddressSettings is deprecated in favour of BrokerProperties. You can specify the address expiryDelay by using the broker properties, i.e.

apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: artemis-broker
spec:
  brokerProperties:
  - addressesSettings.my-address.expiryDelay=1382400000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants