Author: ruwan
Date: Sun Dec 9 21:49:03 2007
New Revision: 602781
URL: http://svn.apache.org/viewvc?rev=602781&view=rev
Log:
Fixing the cache serialization issue and documentation comments of Send
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorSerializer.java
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorSerializer.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorSerializer.java?rev=602781&r1=602780&r2=602781&view=diff
==============================================================================
---
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorSerializer.java
(original)
+++
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorSerializer.java
Sun Dec 9 21:49:03 2007
@@ -57,7 +57,7 @@
cache.addAttribute(fac.createOMAttribute("collector", nullNS,
"true"));
} else {
- cache.addAttribute(fac.createOMAttribute("collector", nullNS,
"true"));
+ cache.addAttribute(fac.createOMAttribute("collector", nullNS,
"false"));
if (mediator.getDigestGenerator() != null) {
cache.addAttribute(fac.createOMAttribute("hashGenerator",
nullNS,
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java?rev=602781&r1=602780&r2=602781&view=diff
==============================================================================
---
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java
(original)
+++
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/SendMediator.java
Sun Dec 9 21:49:03 2007
@@ -32,18 +32,18 @@
import java.util.List;
/**
- * SendMediator sends a message using specified semantics. If it contains an
endpoint it will send the
- * message to that endpoint. Once a message is sent to the endpoint further
sending behaviors are completely
- * governed by that endpoint. If there is no endpoint available, SendMediator
will send the message to
- * the implicitly stated destination.
+ * SendMediator sends a message using specified semantics. If it contains an
endpoint it will
+ * send the message to that endpoint. Once a message is sent to the endpoint
further sending
+ * behaviors are completely governed by that endpoint. If there is no endpoint
available,
+ * SendMediator will send the message to the implicitly stated destination.
* */
public class SendMediator extends AbstractMediator {
private Endpoint endpoint = null;
/**
- * This is a leaf mediator. i.e. processing stops once send is invoked,
- * as it always returns false
+ * This will call the send method on the messages with implivit message
parameters
+ * or else if there is an endpoint, with that endpoint parameters
*
* @param synCtx the current message to be sent
* @return false always as this is a leaf mediator
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]