Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IConnectionListener.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IConnectionListener.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IConnectionListener.cs 
(added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IConnectionListener.cs Sat 
Nov 25 14:04:39 2006
@@ -0,0 +1,59 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public interface IConnectionListener
+    {
+        /// <summary>
+        /// Called when bytes have been transmitted to the server
+        /// </summary>
+        /// <param>count the number of bytes sent in total since the 
connection was opened</param>     
+        void BytesSent(long count);
+
+        /// <summary>
+        /// Called when some bytes have been received on a connection
+        /// </summary>
+        /// <param>count the number of bytes received in total since the 
connection was opened</param>         
+        void BytesReceived(long count);
+
+        /// <summary>
+        /// Called after the infrastructure has detected that failover is 
required but before attempting failover.
+        /// </summary>
+        /// <param>redirect true if the broker requested redirect. false if 
failover is occurring due to a connection error.</param>
+        /// <return>true to continue failing over, false to veto failover and 
raise a connection exception</return>         
+        bool PreFailover(bool redirect);
+
+        /// <summary>
+        /// Called after connection has been made to another broker after 
failover has been started but before
+        /// any resubscription has been done.
+        /// <return> true to continue with resubscription, false to prevent 
automatic resubscription. This is useful in
+        /// cases where the application wants to handle resubscription. Note 
that in the latter case all sessions, producers
+        /// and consumers are invalidated.
+        /// </return
+        bool PreResubscribe();
+
+        /// <summary>
+        /// Called once failover has completed successfully. This is called 
irrespective of whether the client has
+        /// vetoed automatic resubscription.
+        /// </summary>
+        void FailoverComplete();
+    }
+}

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IConnectionListener.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IFieldTable.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IFieldTable.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IFieldTable.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IFieldTable.cs Sat Nov 25 
14:04:39 2006
@@ -0,0 +1,42 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using System.Collections;
+
+namespace Qpid.Messaging
+{
+    public interface IFieldTable : IEnumerable
+    {
+        int Count { get; }
+
+        object this[string key] { get; set; }
+
+        /// <summary>
+        /// Adds all the items from another field table in this one. 
+        /// Will overwrite any items in the current table with the same key.
+        /// </summary>
+        /// <param name="source">the source field table</param>
+        void AddAll(IFieldTable source);
+
+        bool Contains(string s);
+        void Clear();
+        void Remove(string key);
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IFieldTable.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IHeaders.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IHeaders.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IHeaders.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IHeaders.cs Sat Nov 25 
14:04:39 2006
@@ -0,0 +1,53 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public interface IHeaders
+    {
+        bool Contains(string name);
+
+        string this[string name] { get; set; }
+        
+        bool GetBoolean(string name);
+        void SetBoolean(string name, bool value);
+
+        byte GetByte(string name);
+        void SetByte(string name, byte value);
+
+        short GetShort(string name);
+        void SetShort(string name, short value);
+
+        int GetInt(string name);
+        void SetInt(string name, int value);
+
+        long GetLong(string name);
+        void SetLong(string name, long value);
+
+        float GetFloat(string name);
+        void SetFloat(string name, float value);
+
+        double GetDouble(string name);
+        void SetDouble(string name, double value);
+
+        string GetString(string name);
+        void SetString(string name, string value);
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IHeaders.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessage.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessage.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessage.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessage.cs Sat Nov 25 
14:04:39 2006
@@ -0,0 +1,47 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{   
+    public interface IMessage
+    {
+        string ContentType { get; set;}
+        string ContentEncoding { get; set; }
+        string CorrelationId { get; set; }
+        byte[] CorrelationIdAsBytes { get; set; }
+        DeliveryMode DeliveryMode { get; set; }
+        long Expiration { get; set; }
+        string MessageId { get; set; }
+        int Priority { get; set; }
+        bool Redelivered { get; set; }
+        string ReplyToExchangeName { get; set; }
+        string ReplyToRoutingKey { get; set; }
+        long Timestamp { get; set; }
+        string Type { get; set; }
+        IHeaders Headers { get; }
+
+        // XXX: UserId?
+        // XXX: AppId?
+        // XXX: ClusterId?
+
+        void Acknowledge();
+        void ClearBody();
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessage.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessageConsumer.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessageConsumer.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessageConsumer.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessageConsumer.cs Sat Nov 
25 14:04:39 2006
@@ -0,0 +1,33 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using System;
+
+namespace Qpid.Messaging
+{
+    public interface IMessageConsumer : IDisposable
+    {
+        MessageReceivedDelegate OnMessage { get; set; }
+
+        IMessage Receive();
+        IMessage Receive(long delay);
+        IMessage ReceiveNoWait();
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessageConsumer.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessagePublisher.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessagePublisher.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessagePublisher.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessagePublisher.cs Sat 
Nov 25 14:04:39 2006
@@ -0,0 +1,55 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using System;
+
+namespace Qpid.Messaging
+{
+    public interface IMessagePublisher : IDisposable
+    {
+        DeliveryMode DeliveryMode { get; set; }
+        string ExchangeName { get; }
+        string RoutingKey { get; }
+        bool DisableMessageID { get; set; }
+        bool DisableMessageTimestamp { get; set; }
+        int Priority { get; set; }
+        long TimeToLive { get; set; }
+
+        /// <summary>
+        /// Set the default MIME type for messages produced by this producer. 
This reduces the overhead of each message.
+        /// </summary>
+        /// <param>mimeType</param>         
+        string MimeType
+        {
+            set;
+        }
+
+        /// <summary>
+        /// Set the default encoding for messages produced by this producer. 
This reduces the overhead of each message.
+        /// </summary>        
+        string Encoding
+        {
+            set;
+        }
+
+        void Send(IMessage msg);
+        void Send(IMessage msg, DeliveryMode deliveryMode, int priority, long 
timeToLive);
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/IMessagePublisher.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ITextMessage.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ITextMessage.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ITextMessage.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ITextMessage.cs Sat Nov 25 
14:04:39 2006
@@ -0,0 +1,27 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public interface ITextMessage : IMessage
+    {
+        string Text { get; set; }
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ITextMessage.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageConsumerBuilder.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageConsumerBuilder.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageConsumerBuilder.cs 
(added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageConsumerBuilder.cs 
Sat Nov 25 14:04:39 2006
@@ -0,0 +1,74 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public class MessageConsumerBuilder
+    {
+        private int _prefetch = 0;
+        private bool _noLocal = false;
+        private bool _exclusive = false;
+        private bool _durable = false;
+        private string _subscriptionName = null;
+        private IChannel _channel;
+        private readonly string _queueName;
+
+        public MessageConsumerBuilder(IChannel channel, string queueName)
+        {
+            _channel = channel;
+            _queueName = queueName;
+        }
+
+        public MessageConsumerBuilder withPrefetch(int prefetch)
+        {
+            _prefetch = prefetch;
+            return this;
+        }
+
+        public MessageConsumerBuilder withNoLocal(bool noLocal)
+        {
+            _noLocal = noLocal;
+            return this;
+        }
+
+        public MessageConsumerBuilder withExclusive(bool exclusive)
+        {
+            _exclusive = exclusive;
+            return this;
+        }
+
+        public MessageConsumerBuilder withDurable(bool durable)
+        {
+            _durable = durable;
+            return this;
+        }
+
+        public MessageConsumerBuilder withSubscriptionName(string 
subscriptionName)
+        {
+            _subscriptionName = subscriptionName;
+            return this;
+        }
+
+        public IMessageConsumer Create()
+        {
+            return _channel.CreateConsumer(_queueName, _prefetch, _noLocal, 
_exclusive, _durable, _subscriptionName);
+        }
+    }
+}

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageConsumerBuilder.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotReadableException.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotReadableException.cs?view=auto&rev=479211
==============================================================================
--- 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotReadableException.cs 
(added)
+++ 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotReadableException.cs 
Sat Nov 25 14:04:39 2006
@@ -0,0 +1,29 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public class MessageNotReadableException : QpidException
+    {
+        public MessageNotReadableException(string reason) : base(reason)
+        {
+        }
+    }
+}

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotReadableException.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotWritableException.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotWritableException.cs?view=auto&rev=479211
==============================================================================
--- 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotWritableException.cs 
(added)
+++ 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotWritableException.cs 
Sat Nov 25 14:04:39 2006
@@ -0,0 +1,29 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public class MessageNotWriteableException : QpidException
+    {
+        public MessageNotWriteableException(string reason) : base(reason)
+        {
+        }
+    }
+}

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessageNotWritableException.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessagePublisherBuilder.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessagePublisherBuilder.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessagePublisherBuilder.cs 
(added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessagePublisherBuilder.cs 
Sat Nov 25 14:04:39 2006
@@ -0,0 +1,91 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public class MessagePublisherBuilder
+    {
+        /// <summary>
+        /// Default value for immediate flag is false, i.e. a consumer does 
not need to be attached to a queue
+        /// </summary>
+        const bool DEFAULT_IMMEDIATE = false;
+
+        /// <summary>
+        /// Default value for mandatory flag is true, i.e. server will not 
silently drop messages where no queue is
+        /// connected to the exchange for the message
+        /// </summary>
+        const bool DEFAULT_MANDATORY = true;
+
+        IChannel _channel;
+        string _exchangeName = null;
+        string _routingKey = null;
+        DeliveryMode _deliveryMode = DeliveryMode.Persistent;
+        long _timeToLive;
+        bool _immediate = DEFAULT_IMMEDIATE;
+        bool _mandatory = DEFAULT_MANDATORY;
+        int _priority = 0;
+
+        public MessagePublisherBuilder(IChannel channel)
+        {
+            _channel = channel;
+        }
+
+        public MessagePublisherBuilder withRoutingKey(string routingKey)
+        {
+            _routingKey = routingKey;
+            return this;
+        }
+
+        public MessagePublisherBuilder withExchangeName(string exchangeName)
+        {
+            _exchangeName = exchangeName;
+            return this;
+        }
+
+        public MessagePublisherBuilder withDeliveryMode(DeliveryMode 
deliveryMode)
+        {
+            _deliveryMode = deliveryMode;
+            return this;
+        }
+
+        public MessagePublisherBuilder withTimeToLive(long timeToLive)
+        {
+            _timeToLive = timeToLive;
+            return this;
+        }
+
+        public MessagePublisherBuilder withImmediate(bool immediate)
+        {
+            _immediate = immediate;
+            return this;
+        }
+
+        public MessagePublisherBuilder withMandatory(bool mandatory)
+        {
+            _mandatory = mandatory;
+            return this;
+        }
+
+        public IMessagePublisher Create()
+        {
+            return _channel.CreatePublisher(_exchangeName, _routingKey, 
_deliveryMode, _timeToLive, _immediate, _mandatory, _priority);
+        }
+    }
+}
\ No newline at end of file

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/MessagePublisherBuilder.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Properties/AssemblyInfo.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Properties/AssemblyInfo.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Properties/AssemblyInfo.cs 
(added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Properties/AssemblyInfo.cs 
Sat Nov 25 14:04:39 2006
@@ -0,0 +1,56 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Qpid.Messaging")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Qpid")]
+[assembly: AssemblyProduct("Qpid.Messaging")]
+[assembly: AssemblyCopyright("Copyright (c) 2006 The Apache Software 
Foundation")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed 
to COM
+[assembly: Guid("e74f1805-b355-42e0-ba70-afc7c8570f03")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build 
Numbers 
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: CLSCompliant(true)]
\ No newline at end of file

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Qpid.Messaging.csproj
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Qpid.Messaging.csproj?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Qpid.Messaging.csproj 
(added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Qpid.Messaging.csproj Sat 
Nov 25 14:04:39 2006
@@ -0,0 +1,69 @@
+<Project DefaultTargets="Build" 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{6688F826-C58E-4C1B-AA1F-22AFAB4B7D07}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Qpid.Messaging</RootNamespace>
+    <AssemblyName>Qpid.Messaging</AssemblyName>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' 
">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 
'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="AcknowledgeMode.cs" />
+    <Compile Include="ChannelLimitReachedException.cs" />
+    <Compile Include="DeliveryMode.cs" />
+    <Compile Include="ExchangeClassConstants.cs" />
+    <Compile Include="ExchangeNameDefaults.cs" />
+    <Compile Include="IBytesMessage.cs" />
+    <Compile Include="IConnection.cs" />
+    <Compile Include="IConnectionFactory.cs" />
+    <Compile Include="IConnectionListener.cs" />
+    <Compile Include="IFieldTable.cs" />
+    <Compile Include="IHeaders.cs" />
+    <Compile Include="IMessage.cs" />
+    <Compile Include="IMessageConsumer.cs" />
+    <Compile Include="IMessagePublisher.cs" />
+    <Compile Include="IChannel.cs" />
+    <Compile Include="ITextMessage.cs" />
+    <Compile Include="MessageConsumerBuilder.cs" />
+    <Compile Include="MessageNotReadableException.cs" />
+    <Compile Include="MessageNotWritableException.cs" />
+    <Compile Include="MessagePublisherBuilder.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="QpidException.cs" />
+    <Compile Include="ResourceAllocationException.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets 
below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/Qpid.Messaging.csproj
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/QpidException.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/QpidException.cs?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/QpidException.cs (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/QpidException.cs Sat Nov 25 
14:04:39 2006
@@ -0,0 +1,36 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using System;
+
+namespace Qpid.Messaging
+{   
+    public class QpidException : Exception
+    {
+        public QpidException(string reason) : base(reason)
+        {
+        }
+
+        public QpidException(string reason, Exception e)
+            : base(reason, e)
+        {
+        }
+    }
+}

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/QpidException.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ResourceAllocationException.cs
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ResourceAllocationException.cs?view=auto&rev=479211
==============================================================================
--- 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ResourceAllocationException.cs 
(added)
+++ 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ResourceAllocationException.cs 
Sat Nov 25 14:04:39 2006
@@ -0,0 +1,29 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+namespace Qpid.Messaging
+{
+    public class ResourceAllocationException : QpidException
+    {
+        public ResourceAllocationException(string reason) : base(reason)
+        {
+        }
+    }
+}

Propchange: 
incubator/qpid/trunk/qpid/dotnet/Qpid.Messaging/ResourceAllocationException.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/Qpid.NET.sln
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.NET.sln?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.NET.sln (added)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.NET.sln Sat Nov 25 14:04:39 2006
@@ -0,0 +1,61 @@
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Messaging", 
"Qpid.Messaging\Qpid.Messaging.csproj", "{6688F826-C58E-4C1B-AA1F-22AFAB4B7D07}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Common.Tests", 
"Qpid.Common.Tests\Qpid.Common.Tests.csproj", 
"{F83624B0-762B-4D82-900D-FF4C1B36E36E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Buffer", 
"Qpid.Buffer\Qpid.Buffer.csproj", "{44384DF2-B0A4-4580-BDBC-EE4BAA87D995}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = 
"Qpid.Client.Transport.Socket.Blocking", 
"Qpid.Client.Transport.Socket.Blocking\Qpid.Client.Transport.Socket.Blocking.csproj",
 "{52AC4940-2077-4104-A753-29A9C8C16957}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Codec", 
"Qpid.Codec\Qpid.Codec.csproj", "{22D0D0C2-77AF-4DE3-B456-7FF3893F9F88}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Client", 
"Qpid.Client\Qpid.Client.csproj", "{68987C05-3768-452C-A6FC-6BA1D372852F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Common", 
"Qpid.Common\Qpid.Common.csproj", "{77064C42-24D2-4CEB-9EA2-0EF481A43205}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Qpid.Client.Tests", 
"Qpid.Client.Tests\Qpid.Client.Tests.csproj", 
"{BA1B0032-4CE6-40DD-A2DC-119F0FFA0A1D}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {6688F826-C58E-4C1B-AA1F-22AFAB4B7D07}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {6688F826-C58E-4C1B-AA1F-22AFAB4B7D07}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {6688F826-C58E-4C1B-AA1F-22AFAB4B7D07}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {6688F826-C58E-4C1B-AA1F-22AFAB4B7D07}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {F83624B0-762B-4D82-900D-FF4C1B36E36E}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {F83624B0-762B-4D82-900D-FF4C1B36E36E}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {F83624B0-762B-4D82-900D-FF4C1B36E36E}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {F83624B0-762B-4D82-900D-FF4C1B36E36E}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {44384DF2-B0A4-4580-BDBC-EE4BAA87D995}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {44384DF2-B0A4-4580-BDBC-EE4BAA87D995}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {44384DF2-B0A4-4580-BDBC-EE4BAA87D995}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {44384DF2-B0A4-4580-BDBC-EE4BAA87D995}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {52AC4940-2077-4104-A753-29A9C8C16957}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {52AC4940-2077-4104-A753-29A9C8C16957}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {52AC4940-2077-4104-A753-29A9C8C16957}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {52AC4940-2077-4104-A753-29A9C8C16957}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {22D0D0C2-77AF-4DE3-B456-7FF3893F9F88}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {22D0D0C2-77AF-4DE3-B456-7FF3893F9F88}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {22D0D0C2-77AF-4DE3-B456-7FF3893F9F88}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {22D0D0C2-77AF-4DE3-B456-7FF3893F9F88}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {68987C05-3768-452C-A6FC-6BA1D372852F}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {68987C05-3768-452C-A6FC-6BA1D372852F}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {68987C05-3768-452C-A6FC-6BA1D372852F}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {68987C05-3768-452C-A6FC-6BA1D372852F}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {77064C42-24D2-4CEB-9EA2-0EF481A43205}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {77064C42-24D2-4CEB-9EA2-0EF481A43205}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {77064C42-24D2-4CEB-9EA2-0EF481A43205}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {77064C42-24D2-4CEB-9EA2-0EF481A43205}.Release|Any CPU.Build.0 
= Release|Any CPU
+               {BA1B0032-4CE6-40DD-A2DC-119F0FFA0A1D}.Debug|Any CPU.ActiveCfg 
= Debug|Any CPU
+               {BA1B0032-4CE6-40DD-A2DC-119F0FFA0A1D}.Debug|Any CPU.Build.0 = 
Debug|Any CPU
+               {BA1B0032-4CE6-40DD-A2DC-119F0FFA0A1D}.Release|Any 
CPU.ActiveCfg = Release|Any CPU
+               {BA1B0032-4CE6-40DD-A2DC-119F0FFA0A1D}.Release|Any CPU.Build.0 
= Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal

Propchange: incubator/qpid/trunk/qpid/dotnet/Qpid.NET.sln
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/qpid/trunk/qpid/dotnet/README.txt
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/README.txt?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/README.txt (added)
+++ incubator/qpid/trunk/qpid/dotnet/README.txt Sat Nov 25 14:04:39 2006
@@ -0,0 +1,55 @@
+Info
+====
+
+AMQP version currently 0.8 (see /Qpid.Common/amqp.xml)
+
+
+Setup
+=====
+
+Install:
+  Microsoft Visual Studio 2005 (VS2005)
+  MsBee 1.0 (Visual Studio plugin for targetting .NET 1.1) - only required if 
you want to build .NET 1.1. binaries.
+  Ant 1.6.5
+  Cygwin (or alternatively build via cmd but alter instructions below 
accordingly)
+
+Set up PATH to include MSBuild.exe:
+
+  $ PATH=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:$PATH
+
+Set up PATH to include ant:
+
+  $ PATH=$ANT_HOME/bin:$PATH
+
+
+Building
+========
+
+Generate framing from /Qpid.Common/amqp.xml specificiation file:
+
+  $ build-framing
+
+To build .NET 2.0 executables (to bin/Release):
+
+  $ build
+
+To build .NET 1.1 executables via MsBee (to bin/FX_1_1/Debug):
+
+  $ build-dotnet11
+
+
+Releasing
+=========
+
+For .NET 1.1
+
+  $ release-dotnet 1.1 1.0M1
+
+Generates ./build/Qpid.NET-1.0M1-FX1.1.zip
+
+For .NET 2.0
+
+  $ release-dotnet 2.0 1.0M1
+
+Generates ./build/Qpid.NET-1.0M1-FX2.0.zip
+

Propchange: incubator/qpid/trunk/qpid/dotnet/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/TODO.txt
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/TODO.txt?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/TODO.txt (added)
+++ incubator/qpid/trunk/qpid/dotnet/TODO.txt Sat Nov 25 14:04:39 2006
@@ -0,0 +1,28 @@
+
+* Failover.
+  * record and replay necessary commands.
+  * Review new API methods for fail over requirements.
+    i.e. lock on mutex for non-blocking methods, FailoverSupport (for blocking 
methods)
+
+* transactions Tx.Select and Tx.Commit
+  * Do the TxSelect message after opening a transactional channel
+
+* createSession with prefetch (warning: prefetch partly added)
+  * Do the BasicQos message after opening channel (sets up prefetch).
+
+* Port Connection URL support.
+
+* .NET currently only supports no-ack mode. Allow acknowledgement support.
+  * Implement the PreAcknowledge ack mode. Add preDeliver/postDeliver methods 
in AmqSession like the Java client.
+  * Implement Recover() with Basic.Recover.
+
+* Blocking receive i.e. Basic.Get
+
+* Implement durable subscriptions.
+
+* SSL. SSLStream composed over NetworkStream.
+
+* Implement a Async IO socket transport.
+  Compare against blocking socket transport and configure default 
appropriately.
+
+* support multiple versions of AMQP from the same client.

Propchange: incubator/qpid/trunk/qpid/dotnet/TODO.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/qpid/trunk/qpid/dotnet/build-dotnet11
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/build-dotnet11?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/build-dotnet11 (added)
+++ incubator/qpid/trunk/qpid/dotnet/build-dotnet11 Sat Nov 25 14:04:39 2006
@@ -0,0 +1,7 @@
+pfPath=$(cygpath -m "/cygdrive/c/Program Files")
+ 
+MSBuild.exe Qpid.NET.sln \
+    /p:Configuration=Release \
+    /t:rebuild \
+    /p:TargetFX1_1=true \
+    
"/p:CustomAfterMicrosoftCommonTargets=${pfPath}\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets"

Added: incubator/qpid/trunk/qpid/dotnet/build-dotnet11.bat
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/build-dotnet11.bat?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/build-dotnet11.bat (added)
+++ incubator/qpid/trunk/qpid/dotnet/build-dotnet11.bat Sat Nov 25 14:04:39 2006
@@ -0,0 +1 @@
+MSBuild Qpid.NET.sln /p:Configuration=Release /t:rebuild /p:TargetFX1_1=true 
"/p:CustomAfterMicrosoftCommonTargets=%ProgramFiles%\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets"

Propchange: incubator/qpid/trunk/qpid/dotnet/build-dotnet11.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/qpid/trunk/qpid/dotnet/build-dotnet20
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/build-dotnet20?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/build-dotnet20 (added)
+++ incubator/qpid/trunk/qpid/dotnet/build-dotnet20 Sat Nov 25 14:04:39 2006
@@ -0,0 +1,3 @@
+MSBuild.exe Qpid.NET.sln \
+  /p:Configuration=Release \
+  /t:rebuild

Added: incubator/qpid/trunk/qpid/dotnet/build-framing
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/build-framing?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/build-framing (added)
+++ incubator/qpid/trunk/qpid/dotnet/build-framing Sat Nov 25 14:04:39 2006
@@ -0,0 +1,2 @@
+cd Qpid.Common
+ant

Added: incubator/qpid/trunk/qpid/dotnet/build-framing.bat
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/build-framing.bat?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/build-framing.bat (added)
+++ incubator/qpid/trunk/qpid/dotnet/build-framing.bat Sat Nov 25 14:04:39 2006
@@ -0,0 +1,2 @@
+cd Qpid.Common
+ant

Propchange: incubator/qpid/trunk/qpid/dotnet/build-framing.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/qpid/trunk/qpid/dotnet/release-dotnet
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/release-dotnet?view=auto&rev=479211
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/release-dotnet (added)
+++ incubator/qpid/trunk/qpid/dotnet/release-dotnet Sat Nov 25 14:04:39 2006
@@ -0,0 +1,42 @@
+#!/bin/bash
+
+Usage() 
+{
+  echo "usage: $0 1.1|2.0 release-number (e.g. 2.0.1)"
+  exit 2
+}
+
+if [[ $# -ne 2 ]]; then
+  Usage
+fi
+
+dotNetVersion=$1
+releaseName=Qpid.NET-$2-FX$dotNetVersion
+
+if [[ $dotNetVersion == "1.1" ]]; then
+  binDir=Qpid.Client.Tests/bin/FX1_1/Release
+elif [[ $dotNetVersion == "2.0" ]]; then
+  binDir=Qpid.Client.Tests/bin/Release
+else
+  Usage
+fi
+
+filesToRelease="
+  Qpid.Buffer.dll
+  Qpid.Client.Transport.Socket.Blocking.dll
+  Qpid.Client.dll
+  Qpid.Codec.dll
+  Qpid.Common.dll
+  Qpid.Messaging.dll
+  log4net.dll
+  log4net.xml"
+
+releaseDir=build/$releaseName
+mkdir -p $releaseDir
+
+for file in $filesToRelease; do
+  cp $binDir/$file $releaseDir
+done
+
+cd build
+jar -cvMf $releaseName.zip $releaseName


Reply via email to