summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java b/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java
index ec82fa166e..c972b9d078 100644
--- a/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java
+++ b/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java
@@ -35,8 +35,8 @@ public class NoRouteException extends RequiredDeliveryException
super(msg, message);
}
- public int getReplyCode()
+ public AMQConstant getReplyCode()
{
- return AMQConstant.NO_ROUTE.getCode();
+ return AMQConstant.NO_ROUTE;
}
}