[jboss-user] [JBoss Messaging Users] - Message expiration on JBM 1.4.{4, 5}

roelof do-not-reply at jboss.com
Tue Oct 13 09:29:26 EDT 2009

hi everyone,

the following test were performed on a clustered setup of JBoss/JBM:

1. the ExpiryQueue is clustered
2. All messages are submitted to a clustered topic
3. Messages expire after 10s.
4. Two durable subscribers subscribe for the messages.
5. Subscriber1 is connected to node1
6. Subscriber2 is connected to node2
7. Subscriber2 disconnects for a period of time exceeding 10s.
8. Subscriber2 re-connects to node2
9. In the server.log of node1 the following messages appear:
ServerSessionEndpoint] No expiry queue has been configured so removing expired

each topic is deployed with JBoss startup and have both a DLQ and ExpiryQueue set, e.g.:

   <mbean code="org.jboss.jms.server.destination.TopicService"
  |       name="jboss.messaging.destination:service=Topic,name=SMS"
  |       xmbean-dd="xmdesc/Topic-xmbean.xml">
  |       <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  |       <depends>jboss.messaging:service=PostOffice</depends>
  |       <attribute name="Clustered">true</attribute>
  |       <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=DLQ</attribute>
  |       <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=ExpiryQueue</attribute>
  |       <attribute name="FullSize">75000</attribute>
  |    </mbean>

the message counters for the expiry queue does not reflect the correct number of messages that were expired.

are these types of messages normal? when running on a single node these messages are not printed, only when running in a cluster.

all help appreciated.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260097#4260097

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260097

More information about the jboss-user mailing list