Verifies that messages to topics expire, when one subscriber is durable, and the other non-durable.
It sends two groups of messages - one group which expires after 1 second, and another which don't expire, and verifies that after the first group should have expired, only the non-expiring group can be received.
If the JMS provider doesn't support immediate expiration of messages, the
org.exolab.jmscts.test.producer.ttl.ExpirationTest.expirationInterval property should be configured in
jmscts.properties to delay the test until the expired messages are collected.
Requirements:
Run | ConnectionFactory | Destination | Delivery | Session | Consumer | Message | Pass |
1
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
TRANSACTED
|
durable synchronous
|
MapMessage
|
Yes
|
2
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
TRANSACTED
|
durable asynchronous
|
MapMessage
|
Yes
|
3
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
TRANSACTED
|
durable synchronous
|
MapMessage
|
Yes
|
4
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
TRANSACTED
|
durable asynchronous
|
MapMessage
|
Yes
|
5
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
AUTO
|
durable synchronous
|
MapMessage
|
Yes
|
6
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
AUTO
|
durable asynchronous
|
MapMessage
|
Yes
|
7
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
AUTO
|
durable synchronous
|
MapMessage
|
Yes
|
8
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
AUTO
|
durable asynchronous
|
MapMessage
|
Yes
|
9
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
CLIENT
|
durable synchronous
|
MapMessage
|
Yes
|
10
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
CLIENT
|
durable asynchronous
|
MapMessage
|
Yes
|
11
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
CLIENT
|
durable synchronous
|
MapMessage
|
Yes
|
12
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
CLIENT
|
durable asynchronous
|
MapMessage
|
Yes
|
13
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
DUPS_OK
|
durable synchronous
|
MapMessage
|
Yes
|
14
|
TopicConnectionFactory
|
administered
|
NON_PERSISTENT
|
DUPS_OK
|
durable asynchronous
|
MapMessage
|
Yes
|
15
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
DUPS_OK
|
durable synchronous
|
MapMessage
|
Yes
|
16
|
TopicConnectionFactory
|
administered
|
PERSISTENT
|
DUPS_OK
|
durable asynchronous
|
MapMessage
|
Yes
|