qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kaminiecki <ada...@dgt.com.pl>
Subject Re: QPid .net C# client problem
Date Tue, 07 Dec 2010 09:11:53 GMT
What a waste :/  can u tell what I need to download to use

    - The .NET Binding for the C++ Messaging Client

because I dont understant it clearly what I have to do to use it i C#



Regards,
Adam


W dniu 2010-12-06 23:10, Cliff Jansen pisze:
> Hi Adam,
>
> I regret to report that the C# client you are using is not currently
> being maintained within Qpid and has been identified as a candidate
> for removal.
>
> To paraphrase some recent emails, your best options for Qpid C#
> development are as follows:
>
>     - The Qpid WCF client
> (http://qpid.apache.org/books/trunk/Programming-In-Apache-Qpid/html/ch04.html)
>
>     - The .NET Binding for the C++ Messaging Client
> (http://qpid.apache.org/books/trunk/Programming-In-Apache-Qpid/html/ch05.html)
>
>
> Use the former if you have a preference for using the WCF framework or
> require distributed transactions managed by MSDTC.
>
> The latter currently enjoys the most active support within Qpid and
> gains synergy from the Qpid messaging API work in some of the other
> clients.
>
> Cliff
>
> On Mon, Dec 6, 2010 at 2:47 AM, Adam Kaminiecki<adamka@dgt.com.pl>  wrote:
>> Hi
>>
>> MyClient=new MessageListener(session);
>> MyClient.NewMessagee += new
>> MessageListener.NewMessage(MyClient_NewMessagee);
>> session.ExchangeDeclare(exchange,type,string.Empty,null,Option.NONE);
>> string myqueue = session.Name;
>> session.QueueDeclare(myqueue);
>>
>>
>> Hi, I get an error in last line i this code:
>> org.apache.qpid.transport.SessionException was unhandled
>>   Message="System.Collections.Generic.List`1[org.apache.qpid.transport.ExecutionException]"
>>   Source="qpid.client"
>>
>>
>>
>> Can you give me some advice?
>>
>>
>> And I have few questions more:
>>
>> When Im creating sessiom why I must declare expiry in seconds?? Its timeout
>> for request-response?
>>
>> Where can I find explanation of patrameters Option??
>>
>>
>>
>>
>> Is it correct declaration for consumer/message listener or am I doing
>> something wrong??
>>
>>   private class MessageListener:IMessageListener
>>         {
>>             private readonly ISession session;
>>
>>              public MessageListener(ISession sess)
>>             {
>>                 session = sess;
>>             }
>>
>>             public delegate void NewMessage(IMessage e);
>>             public event NewMessage NewMessagee;
>>
>>             public void MessageTransfer(IMessage m)
>>             {
>>                 var range = new RangeSet {m.Id};
>>                 session.MessageAccept(range,null);
>>                 NewMessagee(m);
>>             }
>>         }
>>
>>
>> Regards,
>> Adam
>>
>>
>>
>>
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message