You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/10/26 15:47:58 UTC
svn commit: r468002 -
/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/audit/AbstractAuditor.java
Author: gnodet
Date: Thu Oct 26 06:47:57 2006
New Revision: 468002
URL: http://svn.apache.org/viewvc?view=rev&rev=468002
Log:
Add the getExchage(Sting) operation to the jmx managed operation list
Modified:
incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/audit/AbstractAuditor.java
Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/audit/AbstractAuditor.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/audit/AbstractAuditor.java?view=diff&rev=468002&r1=468001&r2=468002
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/audit/AbstractAuditor.java (original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/audit/AbstractAuditor.java Thu Oct 26 06:47:57 2006
@@ -100,6 +100,8 @@
ParameterHelper ph = helper.addOperation(getObjectToManage(), "getExchanges", 2, "retrieve a bunch messages");
ph.setDescription(0, "fromIndex", "lower index of message (start from 0)");
ph.setDescription(1, "toIndex", "upper index of message (exclusive, > fromIndex)");
+ ph = helper.addOperation(getObjectToManage(), "getExchange", 1, "retrieve an exchange given its id");
+ ph.setDescription(0, "id", "id of the exchange to retrieve");
return OperationInfoHelper.join(super.getOperationInfos(), helper.getOperationInfos());
}