From 16a79007527c096c7da40aa8cd0645279765227a Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 14 Jun 2010 12:35:51 +0000 Subject: QPID-2625 : Moved Logging generation to moudule.xml to allow plugins to utilise the same functionality. To enable generation for your plugin just add : to your build.xml Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class. Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info. Updated ConfigStore and Transaction Log to use named properties rather than numeric values. If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954432 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/qpid/server/queue/ProducerFlowControlTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/java/systests/src') diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/ProducerFlowControlTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/ProducerFlowControlTest.java index cd0de76981..58350a0538 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/ProducerFlowControlTest.java +++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/queue/ProducerFlowControlTest.java @@ -22,7 +22,6 @@ package org.apache.qpid.server.queue; import org.apache.log4j.Logger; import org.apache.qpid.client.AMQSession; -import org.apache.qpid.client.AMQQueue; import org.apache.qpid.client.AMQDestination; import org.apache.qpid.AMQException; import org.apache.qpid.management.common.mbeans.ManagedQueue; @@ -172,7 +171,7 @@ public class ProducerFlowControlTest extends AbstractTestLogging results = _monitor.waitAndFindMatches("QUE-1004", DEFAULT_LOG_WAIT); - assertEquals("Did not find correct number of QUE_UNDERFULL queue underfull messages", 1, results.size()); + assertEquals("Did not find correct number of UNDERFULL queue underfull messages", 1, results.size()); -- cgit v1.2.1