<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Message delivery stops even though consumer connected
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/daokeeff">Dan O'Keeffe</a> in <i>JBoss Messaging</i> - <a href="http://community.jboss.org/message/609455#609455">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hey all,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm having some problems with JBoss messaging 1.4.6 (part of jboss-5.0.1 enterprise edition) in relation to messages being left on a destination even when there is an active consumer still trying to receive (with a receive timeout of 500ms).&#160; It happens for both queues and topics. When I look at the state of the destination in the admin console it shows something like:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><table><tbody><tr><td style=";">Run State: RUNNING</td><td style=";">Created Programmatically: false</td></tr></tbody></table><p>Message Counter History Day Limit: -1</p><p>Numeric Metrics</p><table><tbody><tr><td style=";">Name</td><td style=";">Value</td><td style=";">Description</td></tr></tbody></table><p>Category: utilization</p><table><tbody><tr><td style=";">Count</td><td style=";">0</td><td style=";">The total message count since startup or last counter reset</td></tr><tr><td style=";">Count Delta</td><td style=";">0</td><td style=";">The message count delta since last method call</td></tr><tr><td style=";">Depth</td><td style=";">13,683</td><td style=";">The current message count of pending messages within the queue waiting for dispatch</td></tr><tr><td style=";">Depth Delta</td><td style=";">0</td><td style=";">The message count delta of pending messages since last method call</td></tr><tr><td style=";">Time Last Update</td><td style=";">0</td><td style=";">The timestamp of the last message add</td></tr></tbody></table><p>Category: throughput</p><table><tbody><tr><td style=";">Consumer Count</td><td style=";">1</td><td style=";">The number of consumers on the queue</td></tr><tr><td style=";">Delivering Count</td><td style=";">0</td><td style=";">The number of messages currently being delivered</td></tr><tr><td style=";">Message Count</td><td style=";">13,683</td><td style=";">The number of messages in the queue</td></tr><tr><td style=";">Scheduled Message Count</td><td style=";">0</td><td style=";">The number of scheduled messages in the queue</td></tr></tbody></table><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>We are using the 'default' configuration, unmodified other than to add several standard destinations in server/default/deploy/messaging/destinations-service.xml. The test we're running passes fine with several other JMS providers (including HornetQ), so we're pretty sure it's not a problem on our end. Can anyone offer some advice? </p><p>Thanks,</p><p>Dan</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/609455#609455">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>