Bugs item #633868, was opened at 2002-11-05 15:56 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=633868&group_id=22866
Category: JBossMQ Group: v3.0 Rabbit Hole >Status: Closed Resolution: None Priority: 5 Submitted By: Kevin Wood (kwood) >Assigned to: Adrian Brock (ejort) Summary: Expired message blocks queue Initial Comment: OS: Linux JDK: 1.4.1 In my code, I send non-persistent messages to a queue and receive them in an MDB. After awhile, the MDB is not being invoked even though there are messages remaining in the queue. After some debugging, I have determined that the messages at the head of the queue have expired - the JMSExpiration time has passed. However, new messages that are being sent to the queue (not expired) are also not being delivered to the MDB. I have instrumented some of the JBossMQ code and received the following on the console when this happened: 10:04:39,677 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:39,677 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message 10:04:49,633 DEBUG [SpyMessageConsumer] I dropped a message (timeout) 10:04:49,634 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:49,634 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message 10:04:49,642 DEBUG [SpyMessageConsumer] I dropped a message (timeout) 10:04:49,642 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:49,642 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message 10:04:49,645 DEBUG [SpyMessageConsumer] I dropped a message (timeout) 10:04:49,645 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:49,646 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message 10:04:49,661 DEBUG [SpyMessageConsumer] I dropped a message (timeout) 10:04:49,661 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:49,662 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message 10:04:49,682 DEBUG [SpyMessageConsumer] I dropped a message (timeout) 10:04:49,682 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:49,683 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message 10:04:49,685 DEBUG [SpyMessageConsumer] I dropped a message (timeout) 10:04:49,685 INFO [STDOUT] [SpyConnectionConsumer] Calling connection.receive 10:04:49,686 INFO [STDOUT] [SpyConnectionConsumer] connection.receive returned a message The MDB is configured for 6 instances, I believe that's why I get 6 occurrances of the messages above. After seeing the timeout messages from SpyMessageConsumer, no other messages are received from the queue. ---------------------------------------------------------------------- >Comment By: Adrian Brock (ejort) Date: 2003-03-19 23:25 Message: Logged In: YES user_id=9459 I have added tests for a MessageListener and plain receives potentially receiving expired messages and fixed some problems found. This has been applied to 3.0, 3.2 and head. Regards, Adrian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=633868&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development