Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 40191 invoked from network); 14 Feb 2007 20:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 20:17:50 -0000 Received: (qmail 26298 invoked by uid 500); 14 Feb 2007 20:17:57 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 26253 invoked by uid 500); 14 Feb 2007 20:17:57 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 26244 invoked by uid 99); 14 Feb 2007 20:17:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 12:17:57 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 12:17:49 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 66E611A981A; Wed, 14 Feb 2007 12:17:29 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r507676 - in /activemq/activemq-dotnet/trunk/src/main/csharp: ActiveMQ/Commands/ActiveMQObjectMessage.cs NMS/IObjectMessage.cs Date: Wed, 14 Feb 2007 20:17:29 -0000 To: commits@activemq.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070214201729.66E611A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jstrachan Date: Wed Feb 14 12:17:28 2007 New Revision: 507676 URL: http://svn.apache.org/viewvc?view=rev&rev=507676 Log: Removed use of ISerializable from the IObjectMessage API Modified: activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs activemq/activemq-dotnet/trunk/src/main/csharp/NMS/IObjectMessage.cs Modified: activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs?view=diff&rev=507676&r1=507675&r2=507676 ============================================================================== --- activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs (original) +++ activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQObjectMessage.cs Wed Feb 14 12:17:28 2007 @@ -39,7 +39,7 @@ { public const byte ID_ActiveMQObjectMessage = 26; - private ISerializable body; + private object body; private IFormatter formatter; @@ -55,13 +55,13 @@ // Properties - public ISerializable Body + public object Body { get { if (body == null) { - body = (ISerializable) Formatter.Deserialize(new MemoryStream(Content)); + body = Formatter.Deserialize(new MemoryStream(Content)); } return body; } Modified: activemq/activemq-dotnet/trunk/src/main/csharp/NMS/IObjectMessage.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/NMS/IObjectMessage.cs?view=diff&rev=507676&r1=507675&r2=507676 ============================================================================== --- activemq/activemq-dotnet/trunk/src/main/csharp/NMS/IObjectMessage.cs (original) +++ activemq/activemq-dotnet/trunk/src/main/csharp/NMS/IObjectMessage.cs Wed Feb 14 12:17:28 2007 @@ -14,8 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -using System.Runtime.Serialization; - namespace NMS { /// @@ -23,7 +21,7 @@ /// public interface IObjectMessage : IMessage { - ISerializable Body + object Body { get; }