activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r549805 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/CommandMarshaller.java
Date Fri, 22 Jun 2007 12:47:13 GMT
Author: rajdavies
Date: Fri Jun 22 05:47:12 2007
New Revision: 549805

URL: http://svn.apache.org/viewvc?view=rev&rev=549805
Log:
Add default constructor

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/CommandMarshaller.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/CommandMarshaller.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/CommandMarshaller.java?view=diff&rev=549805&r1=549804&r2=549805
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/CommandMarshaller.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/CommandMarshaller.java
Fri Jun 22 05:47:12 2007
@@ -21,6 +21,7 @@
 import java.io.DataOutput;
 import java.io.IOException;
 import org.apache.activemq.kaha.Marshaller;
+import org.apache.activemq.openwire.OpenWireFormat;
 import org.apache.activemq.util.ByteSequence;
 import org.apache.activemq.wireformat.WireFormat;
 
@@ -34,6 +35,10 @@
     public CommandMarshaller(WireFormat wireFormat){
         this.wireFormat = wireFormat;
       
+    }
+    
+    public CommandMarshaller(){
+        this(new OpenWireFormat());
     }
     
     public void writePayload(Object object,DataOutput dataOut) throws IOException{



Mime
View raw message