Author: asankha
Date: Mon Sep 11 00:35:26 2006
New Revision: 442116
URL: http://svn.apache.org/viewvc?view=rev&rev=442116
Log:
Checkin for Ruwan (http://issues.apache.org/jira/browse/SYNAPSE-16?page=all)
Modified:
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/config/SynapseConfiguration.java
Modified:
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/config/SynapseConfiguration.java
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/config/SynapseConfiguration.java?view=diff&rev=442116&r1=442115&r2=442116
==============================================================================
---
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/config/SynapseConfiguration.java
(original)
+++
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/config/SynapseConfiguration.java
Mon Sep 11 00:35:26 2006
@@ -95,6 +95,19 @@
}
/**
+ * Deletes the mediator named with the given name
+ * @param name of the mediator to be deleted
+ */
+ public void deleteNamedSequence(String name) {
+ Object o = namedSequences.get(name);
+ if(o == null) {
+ handleException("Non existent sequence : " + name);
+ } else {
+ namedSequences.remove(name);
+ }
+ }
+
+ /**
* Return the "main" (or default) mediator of synapse. The main mediator
mediates each and every
* message flowing through the system. In an XML based configuration, this
is specified within the
* <rules> section of the configuration
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]