Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1
-
None
-
Debian Wheezy
Description
I get an error when sending 20 messages to the broker, each message in it's own queue. It works for the first 10, but then I get an exception in the apollo.log: "java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing". There are then 20 queues, but only Test0-Test9 contain messages, the debug log says this:
2012-04-04 14:19:30,441 | DEBUG | created queue: Test10 | org.apache.activemq.apollo.broker.Queue | hawtdispatch-DEFAULT-1
2012-04-04 14:19:30,457 | DEBUG | producer route attaching to conusmer. | org.apache.activemq.apollo.broker.DeliveryProducerRoute | hawtdispatch-DEFAULT-1
2012-04-04 14:19:30,458 | WARN | java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing, (currently executing: 'connection 2 to /127.0.0.1:36633') | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
2012-04-04 14:19:30,462 | DEBUG | java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing, (currently executing: 'connection 2 to /127.0.0.1:36633') | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
java.lang.AssertionError: Dispatch queue 'hawtdispatch' was not executing, (currently executing: 'connection 2 to /127.0.0.1:36633')
at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.assertExecuting(SerialDispatchQueue.java:129)
at org.apache.activemq.apollo.broker.LocalRouter.disconnect(LocalRouter.scala:1095)
at org.apache.activemq.apollo.stomp.StompProtocolHandler$$anon$1.onCacheEviction(StompProtocolHandler.scala:558)
at org.apache.activemq.apollo.util.LRUCache.removeEldestEntry(LRUCache.java:83)
at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:410)
at java.util.HashMap.put(HashMap.java:385)
at org.apache.activemq.apollo.stomp.StompProtocolHandler$$anonfun$perform_send$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(StompProtocolHandler.scala:1043)
at org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:349)
at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:84)
at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)