-
Notifications
You must be signed in to change notification settings - Fork 926
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
ARTEMIS-5142 support never expiring incoming messages #5390
Conversation
54c9e9b
to
34dba71
Compare
@gemmellr, if you're good with this then I'll add more tests for the new |
artemis-server/src/main/resources/schema/artemis-configuration.xsd
Outdated
Show resolved
Hide resolved
...is-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
Outdated
Show resolved
Hide resolved
34dba71
to
1c7165e
Compare
You mentioned adding more tests...this is one I actually do think should have integration tests as well. In particular, as I think about it more, I guess its likely there is a gotcha in there for AMQP messages (both for this and the existing min/max etc). I would not be surprised to see the broker apply the new expirations 'locally' but then send the original expiration to the consumer...so e.g if you increase or remove an original expiration, things may not turn out at all as intended. |
1c7165e
to
a636a41
Compare
@gemmellr, I added some integration tests and fixed problem which I found. Let me know what you think. |
...va/org/apache/activemq/artemis/tests/integration/jms/multiprotocol/JMSMessageExpiryTest.java
Outdated
Show resolved
Hide resolved
...va/org/apache/activemq/artemis/tests/integration/jms/multiprotocol/JMSMessageExpiryTest.java
Outdated
Show resolved
Hide resolved
...va/org/apache/activemq/artemis/tests/integration/jms/multiprotocol/JMSMessageExpiryTest.java
Outdated
Show resolved
Hide resolved
...va/org/apache/activemq/artemis/tests/integration/jms/multiprotocol/JMSMessageExpiryTest.java
Outdated
Show resolved
Hide resolved
...va/org/apache/activemq/artemis/tests/integration/jms/multiprotocol/JMSMessageExpiryTest.java
Outdated
Show resolved
Hide resolved
...va/org/apache/activemq/artemis/tests/integration/jms/multiprotocol/JMSMessageExpiryTest.java
Outdated
Show resolved
Hide resolved
340ec3c
to
67a7f00
Compare
67a7f00
to
84f4458
Compare
@gemmellr, take a look at this as a potential replacement for #5334. I feel like this is much simpler and more intuitive.