The .NET Binding to Qpid Messaging already has a session-listener.

* It is packaged as a .NET Assembly DLL separate from the rest of the .NET 
Binding so a user is not forced to include it.

* File cpp\bindings\qpid\dotnet\src\sessionreceiver\sessionreceiver.cs holds 
the listener's implementation.

* File 
cpp\bindings\qpid\dotnet\examples\csharp.map.callback.receiver\csharp.map.callback.receiver.cs
 shows how to use it.

* In this implementation the SessionReceiver creates its own thread on which to 
call Messaging's session.NextReceiver() and to deliver messages to the parent 
application.

Maybe its design and use could be a model, maybe not. Other languages may be 
different enough to make common usage/construction not worth the trouble.  

----- Original Message -----
> From: "Ted Ross (JIRA)" <j...@apache.org>
> To: dev@qpid.apache.org
> Sent: Thursday, January 27, 2011 11:23:44 AM
> Subject: [jira] Commented: (QPID-3009) Perl binding to Qpid messaging
> [
> https://issues.apache.org/jira/browse/QPID-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987628#action_12987628
> ]
> 
> Ted Ross commented on QPID-3009:
> --------------------------------
> 
> I agree with Gordon that the session-listener is a separate utility. I
> also agree that we should formulate a common pattern for its design
> that can be used in all of the various language APIs and bindings.
> 
> 
> > Perl binding to Qpid messaging
> > ------------------------------
> >
> >                 Key: QPID-3009
> >                 URL: https://issues.apache.org/jira/browse/QPID-3009
> >             Project: Qpid
> >          Issue Type: New Feature
> >          Components: C++ Client
> >    Affects Versions: 0.8
> >         Environment: -
> >            Reporter: Hao Chang Yu
> >            Assignee: Ted Ross
> >             Fix For: 0.8
> >
> >         Attachments: QPID-3009.diff, qpid_perl.patch
> >
> >
> > As we need to use perl programs to send amqp messages but there is
> > no perl version of qpid messaging.
> > Therefore, I had written a perl api to bind with c++ qpid messaging
> > library. This perl api for qpid messaging is developed using swig
> > and is base on qpid 0.8.
> > Please see the attached patch file.
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:dev-subscr...@qpid.apache.org

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

Reply via email to