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 2009/03/11 11:23:27 UTC
svn commit: r752417 - in /servicemix/smx4/nmr/trunk/nmr/audit: ./
src/main/java/org/apache/servicemix/nmr/audit/commands/
src/main/java/org/apache/servicemix/nmr/audit/jdbc/
src/main/resources/META-INF/ src/main/resources/META-INF/spring/
src/main/reso...
Author: gnodet
Date: Wed Mar 11 10:23:26 2009
New Revision: 752417
URL: http://svn.apache.org/viewvc?rev=752417&view=rev
Log:
SMX4NMR-22: add a few commands for the auditor
Added:
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/AuditCommandSupport.java
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/CountCommand.java
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/DeleteCommand.java
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.java
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/IdsCommand.java
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/spring/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/spring/servicemix-audit-commands.xml
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/CountCommand.properties
- copied, changed from r752259, servicemix/smx4/nmr/trunk/nmr/commands/src/main/resources/org/apache/servicemix/nmr/commands/ListCommand.properties
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/DeleteCommand.properties
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.properties
servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/IdsCommand.properties
Modified:
servicemix/smx4/nmr/trunk/nmr/audit/pom.xml
servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/jdbc/JdbcAuditor.java
Modified: servicemix/smx4/nmr/trunk/nmr/audit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/pom.xml?rev=752417&r1=752416&r2=752417&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/pom.xml (original)
+++ servicemix/smx4/nmr/trunk/nmr/audit/pom.xml Wed Mar 11 10:23:26 2009
@@ -49,6 +49,10 @@
<artifactId>org.apache.servicemix.kernel.main</artifactId>
</dependency>
<dependency>
+ <groupId>org.apache.servicemix.kernel.gshell</groupId>
+ <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<optional>true</optional>
@@ -74,7 +78,11 @@
<instructions>
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
<Import-Package>
+ org.apache.geronimo.gshell.wisdom.command,
+ org.apache.geronimo.gshell.wisdom.registry,
org.apache.lucene*;resolution:=optional,
+ org.apache.servicemix.kernel.gshell.core,
+ org.apache.servicemix.nmr.core,
*
</Import-Package>
<Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/AuditCommandSupport.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/AuditCommandSupport.java?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/AuditCommandSupport.java (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/AuditCommandSupport.java Wed Mar 11 10:23:26 2009
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.nmr.audit.commands;
+
+import org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport;
+import org.apache.servicemix.nmr.audit.AuditorMBean;
+import org.osgi.framework.ServiceReference;
+
+/**
+ * Base class for audit commands
+ */
+public abstract class AuditCommandSupport extends OsgiCommandSupport {
+
+ protected AuditorMBean getAuditor() {
+ ServiceReference ref = getBundleContext().getServiceReference(AuditorMBean.class.getName());
+ if (ref != null) {
+ return getService(AuditorMBean.class, ref);
+ }
+ return null;
+ }
+
+ protected Object doExecute() throws Exception {
+ AuditorMBean auditor = getAuditor();
+ if (auditor == null) {
+ io.err.println("No NMR auditor has been registered. Aborting");
+ return Result.FAILURE;
+ }
+ return doExecute(auditor);
+ }
+
+ protected abstract Object doExecute(AuditorMBean auditor) throws Exception;
+}
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/CountCommand.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/CountCommand.java?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/CountCommand.java (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/CountCommand.java Wed Mar 11 10:23:26 2009
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.nmr.audit.commands;
+
+import org.apache.servicemix.nmr.audit.AuditorMBean;
+
+/**
+ * Print the number of exchanges
+ */
+public class CountCommand extends AuditCommandSupport {
+
+ protected Object doExecute(AuditorMBean auditor) throws Exception {
+ io.out.println(auditor.getExchangeCount() + " exchanges");
+ return Result.SUCCESS;
+ }
+}
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/DeleteCommand.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/DeleteCommand.java?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/DeleteCommand.java (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/DeleteCommand.java Wed Mar 11 10:23:26 2009
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.nmr.audit.commands;
+
+import org.apache.geronimo.gshell.clp.Option;
+import org.apache.servicemix.nmr.audit.AuditorMBean;
+
+/**
+ * Delete all exchanges
+ */
+public class DeleteCommand extends AuditCommandSupport {
+
+ @Option(name = "--index", argumentRequired = true)
+ int index = -1;
+
+ @Option(name = "--id", argumentRequired = true)
+ String id;
+
+ @Option(name="--all")
+ boolean all;
+
+ protected Object doExecute(AuditorMBean auditor) throws Exception {
+ int nb = 0;
+ if (index >= 0) {
+ nb = auditor.deleteExchangeByIndex(index) ? 1 : 0;
+ } else if (id != null) {
+ nb = auditor.deleteExchangeById(id) ? 1 : 0;
+ } else if (all) {
+ nb = auditor.deleteAllExchanges();
+ } else {
+ io.err.println("One of [--index, --id, --all] option must be specified");
+ return Result.FAILURE;
+ }
+ io.out.println(nb + " exchanges deleted");
+ return Result.SUCCESS;
+ }
+}
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.java?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.java (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.java Wed Mar 11 10:23:26 2009
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.nmr.audit.commands;
+
+import org.apache.geronimo.gshell.clp.Option;
+import org.apache.servicemix.nmr.api.Exchange;
+import org.apache.servicemix.nmr.audit.AuditorMBean;
+
+/**
+ * Retrieve exchanges
+ */
+public class ExchangesCommand extends AuditCommandSupport {
+
+ @Option(name = "--index", argumentRequired = true)
+ int index = -1;
+
+ @Option(name = "--from", argumentRequired = true)
+ int from = -1;
+
+ @Option(name = "--to", argumentRequired = true)
+ int to = -1;
+
+ @Option(name = "--id", argumentRequired = true)
+ String id;
+
+ @Option(name="--all")
+ boolean all;
+
+ protected Object doExecute(AuditorMBean auditor) throws Exception {
+ Exchange[] exchanges;
+ if (index >= 0) {
+ exchanges = new Exchange[] { auditor.getExchangeByIndex(index) };
+ } else if (from >= 0 && to >= 0) {
+ exchanges = auditor.getExchangesByRange(from, to);
+ } else if (id != null) {
+ exchanges = new Exchange[] { auditor.getExchangeById(id) };
+ } else if (all) {
+ exchanges = auditor.getAllExchanges();
+ } else {
+ io.err.println("One of [--index, --id, --all] option must be specified");
+ return Result.FAILURE;
+ }
+ if (exchanges != null) {
+ for (Exchange e : exchanges) {
+ if (e != null) {
+ io.out.println(e.display(true));
+ }
+ }
+ }
+ return Result.SUCCESS;
+ }
+}
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/IdsCommand.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/IdsCommand.java?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/IdsCommand.java (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/commands/IdsCommand.java Wed Mar 11 10:23:26 2009
@@ -0,0 +1,62 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.nmr.audit.commands;
+
+import org.apache.geronimo.gshell.clp.Option;
+import org.apache.servicemix.nmr.audit.AuditorMBean;
+
+/**
+ * Retrieve exchange ids
+ */
+public class IdsCommand extends AuditCommandSupport {
+
+ @Option(name = "--index")
+ private int index = -1;
+
+ @Option(name = "--from")
+ private int from = -1;
+
+ @Option(name = "--to")
+ private int to = -1;
+
+ @Option(name = "--all")
+ private boolean all;
+
+ protected Object doExecute(AuditorMBean auditor) throws Exception {
+ String[] ids;
+ if (index >= 0) {
+ ids = new String[] { auditor.getExchangeIdByIndex(index) };
+ } else if (from >= 0 && to >= 0) {
+ ids = auditor.getExchangeIdsByRange(from, to);
+ } else if (all) {
+ ids = auditor.getAllExchangeIds();
+ } else {
+ io.err.println("One of [--index, --id, --all] option must be specified");
+ return Result.FAILURE;
+ }
+ if (ids == null || ids.length == 0) {
+ io.out.println("No matching exchanges");
+ } else {
+ for (String id : ids) {
+ if (id != null) {
+ io.out.println(id);
+ }
+ }
+ }
+ return Result.SUCCESS;
+ }
+}
Modified: servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/jdbc/JdbcAuditor.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/jdbc/JdbcAuditor.java?rev=752417&r1=752416&r2=752417&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/jdbc/JdbcAuditor.java (original)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/java/org/apache/servicemix/nmr/audit/jdbc/JdbcAuditor.java Wed Mar 11 10:23:26 2009
@@ -211,7 +211,7 @@
adapter.doRemoveData(connection, ids[row]);
}
connection.commit();
- return -1;
+ return ids.length;
} catch (Exception e) {
throw new AuditorException("Could not delete exchanges", e);
} finally {
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/spring/servicemix-audit-commands.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/spring/servicemix-audit-commands.xml?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/spring/servicemix-audit-commands.xml (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/META-INF/spring/servicemix-audit-commands.xml Wed Mar 11 10:23:26 2009
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:gshell="http://servicemix.apache.org/schema/servicemix-gshell"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://servicemix.apache.org/schema/servicemix-gshell
+ http://servicemix.apache.org/schema/servicemix-gshell/servicemix-gshell.xsd
+ ">
+
+ <import resource="classpath:org/apache/servicemix/kernel/gshell/core/commands.xml" />
+
+ <gshell:command-bundle>
+ <gshell:command name="audit/count">
+ <gshell:action class="org.apache.servicemix.nmr.audit.commands.CountCommand" />
+ </gshell:command>
+ <gshell:command name="audit/delete">
+ <gshell:action class="org.apache.servicemix.nmr.audit.commands.DeleteCommand" />
+ </gshell:command>
+ <gshell:command name="audit/ids">
+ <gshell:action class="org.apache.servicemix.nmr.audit.commands.IdsCommand" />
+ </gshell:command>
+ <gshell:command name="audit/exchanges">
+ <gshell:action class="org.apache.servicemix.nmr.audit.commands.ExchangesCommand" />
+ </gshell:command>
+ </gshell:command-bundle>
+
+</beans>
Copied: servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/CountCommand.properties (from r752259, servicemix/smx4/nmr/trunk/nmr/commands/src/main/resources/org/apache/servicemix/nmr/commands/ListCommand.properties)
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/CountCommand.properties?p2=servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/CountCommand.properties&p1=servicemix/smx4/nmr/trunk/nmr/commands/src/main/resources/org/apache/servicemix/nmr/commands/ListCommand.properties&r1=752259&r2=752417&rev=752417&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/commands/src/main/resources/org/apache/servicemix/nmr/commands/ListCommand.properties (original)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/CountCommand.properties Wed Mar 11 10:23:26 2009
@@ -21,7 +21,7 @@
## $Rev: 703511 $ $Date: 2008-10-10 18:07:36 +0200 (Fri, 10 Oct 2008) $
##
-command.description=List NMR endpoints.
+command.description=Display the number of available exchanges.
command.manual=\
TODO: date manual
\ No newline at end of file
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/DeleteCommand.properties
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/DeleteCommand.properties?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/DeleteCommand.properties (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/DeleteCommand.properties Wed Mar 11 10:23:26 2009
@@ -0,0 +1,27 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 703511 $ $Date: 2008-10-10 18:07:36 +0200 (Fri, 10 Oct 2008) $
+##
+
+command.description=Delete exchanges.
+
+command.manual=\
+ TODO: date manual
\ No newline at end of file
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.properties
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.properties?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.properties (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/ExchangesCommand.properties Wed Mar 11 10:23:26 2009
@@ -0,0 +1,27 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 703511 $ $Date: 2008-10-10 18:07:36 +0200 (Fri, 10 Oct 2008) $
+##
+
+command.description=Retrieve and display exchanges.
+
+command.manual=\
+ TODO: date manual
\ No newline at end of file
Added: servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/IdsCommand.properties
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/IdsCommand.properties?rev=752417&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/IdsCommand.properties (added)
+++ servicemix/smx4/nmr/trunk/nmr/audit/src/main/resources/org/apache/servicemix/nmr/audit/commands/IdsCommand.properties Wed Mar 11 10:23:26 2009
@@ -0,0 +1,27 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 703511 $ $Date: 2008-10-10 18:07:36 +0200 (Fri, 10 Oct 2008) $
+##
+
+command.description=Retrieve and display exchange ids.
+
+command.manual=\
+ TODO: date manual
\ No newline at end of file