activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r367640 - in /incubator/activemq/trunk/activemq-core/src/gram: java/org/activemq/openwire/tool/OpenWireScript.java script/GenerateCSharpMarshalling.groovy
Date Tue, 10 Jan 2006 15:27:09 GMT
Author: jstrachan
Date: Tue Jan 10 07:26:51 2006
New Revision: 367640

URL: http://svn.apache.org/viewcvs?rev=367640&view=rev
Log:
added support for Throwable in OpenWire.Net

Modified:
    incubator/activemq/trunk/activemq-core/src/gram/java/org/activemq/openwire/tool/OpenWireScript.java
    incubator/activemq/trunk/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy

Modified: incubator/activemq/trunk/activemq-core/src/gram/java/org/activemq/openwire/tool/OpenWireScript.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/gram/java/org/activemq/openwire/tool/OpenWireScript.java?rev=367640&r1=367639&r2=367640&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/gram/java/org/activemq/openwire/tool/OpenWireScript.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/gram/java/org/activemq/openwire/tool/OpenWireScript.java
Tue Jan 10 07:26:51 2006
@@ -80,7 +80,10 @@
         if (name.equals("String")) {
             return "string";
         }
-        else if (name.equals("Throwable") || name.equals("Exception") || name.equals("ByteSequence"))
{
+        else if (name.equals("Throwable") || name.equals("Exception")) {
+            return "BrokerError";
+        }
+        else if (name.equals("ByteSequence")) {
             return "byte[]";
         }
         else if (name.equals("boolean")) {

Modified: incubator/activemq/trunk/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy?rev=367640&r1=367639&r2=367640&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy
(original)
+++ incubator/activemq/trunk/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy
Tue Jan 10 07:26:51 2006
@@ -177,6 +177,10 @@
                             out << "ReadDestination(dataIn)"
                             break;
 
+                        case "BrokerError":
+                            out << "ReadBrokerError(dataIn)"
+                            break;
+
                         case "BrokerId[]":
                             out << "ReadBrokerIds(dataIn)"
                             break;
@@ -272,6 +276,10 @@
 
                         case "ActiveMQDestination":
                             out << "WriteDestination($getter, dataOut);"
+                            break;
+
+                        case "BrokerError":
+                            out << "WriteBrokerError($getter, dataOut);"
                             break;
 
                         case "BrokerId[]":



Mime
View raw message