Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C60199FF for ; Wed, 4 Apr 2012 15:07:53 +0000 (UTC) Received: (qmail 76437 invoked by uid 500); 4 Apr 2012 15:07:52 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 76410 invoked by uid 500); 4 Apr 2012 15:07:52 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 76403 invoked by uid 99); 4 Apr 2012 15:07:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 15:07:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 15:07:50 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A92E423888FE for ; Wed, 4 Apr 2012 15:07:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1309439 - /activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala Date: Wed, 04 Apr 2012 15:07:29 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120404150729.A92E423888FE@eris.apache.org> Author: chirino Date: Wed Apr 4 15:07:29 2012 New Revision: 1309439 URL: http://svn.apache.org/viewvc?rev=1309439&view=rev Log: Fixes APLO-182 : "java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing" when sending messages to the broker to many different queues from a single connection. Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala?rev=1309439&r1=1309438&r2=1309439&view=diff ============================================================================== --- activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala (original) +++ activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala Wed Apr 4 15:07:29 2012 @@ -558,7 +558,9 @@ class StompProtocolHandler extends Proto var producerRoutes = new LRUCache[AsciiBuffer, StompProducerRoute](10) { override def onCacheEviction(eldest: Entry[AsciiBuffer, StompProducerRoute]) = { - host.router.disconnect(eldest.getValue.addresses, eldest.getValue) + host.dispatch_queue { + host.router.disconnect(eldest.getValue.addresses, eldest.getValue) + } } }