servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r357690 - in /incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components: groovy/GroovyMarshaler.java mule/MuleMarshaler.java
Date Mon, 19 Dec 2005 13:50:05 GMT
Author: jstrachan
Date: Mon Dec 19 05:50:00 2005
New Revision: 357690

URL: http://svn.apache.org/viewcvs?rev=357690&view=rev
Log:
refactored the Marshaler interface to PojoMarshaler to avoid confusion; folks may have thought
that it was some kinda base interface for all Marshaler types etc.

Modified:
    incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/groovy/GroovyMarshaler.java
    incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/mule/MuleMarshaler.java

Modified: incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/groovy/GroovyMarshaler.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/groovy/GroovyMarshaler.java?rev=357690&r1=357689&r2=357690&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/groovy/GroovyMarshaler.java
(original)
+++ incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/groovy/GroovyMarshaler.java
Mon Dec 19 05:50:00 2005
@@ -18,7 +18,7 @@
 package org.servicemix.components.groovy;
 
 import org.servicemix.jbi.messaging.DefaultMarshaler;
-import org.servicemix.jbi.messaging.Marshaler;
+import org.servicemix.jbi.messaging.PojoMarshaler;
 
 import javax.jbi.messaging.MessageExchange;
 import javax.jbi.messaging.NormalizedMessage;
@@ -27,7 +27,7 @@
 import groovy.lang.GString;
 
 /**
- * A {@link Marshaler} capable of handling <a href="http://groovy.codehaus.org/">Groovy</a>
+ * A {@link PojoMarshaler} capable of handling <a href="http://groovy.codehaus.org/">Groovy</a>
  * specific types.
  *
  * @version $Revision$

Modified: incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/mule/MuleMarshaler.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/mule/MuleMarshaler.java?rev=357690&r1=357689&r2=357690&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/mule/MuleMarshaler.java
(original)
+++ incubator/servicemix/trunk/servicemix-components/src/main/java/org/servicemix/components/mule/MuleMarshaler.java
Mon Dec 19 05:50:00 2005
@@ -21,7 +21,7 @@
 import org.mule.umo.UMOEvent;
 import org.mule.umo.UMOMessage;
 import org.servicemix.components.util.MarshalerSupport;
-import org.servicemix.jbi.messaging.Marshaler;
+import org.servicemix.jbi.messaging.PojoMarshaler;
 
 import javax.jbi.messaging.MessageExchange;
 import javax.jbi.messaging.NormalizedMessage;
@@ -48,7 +48,7 @@
         message.setProperty("org.servicemix.mule.event", event);
 
         Object body = event.getMessage().getPayload();
-        message.setProperty(Marshaler.BODY, body);
+        message.setProperty(PojoMarshaler.BODY, body);
     }
 
     /**



Mime
View raw message