qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that do not use extends
Date Thu, 03 Apr 2008 13:24:24 GMT

    [ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585102#action_12585102
] 

Martin Ritchie commented on QPID-896:
-------------------------------------

Hi Alasdair, thanks of taking the time to provide an example.

What we're looking for is an example that utilises Topics to perform Publish and Subscribe.

If you take a look at this Point 2 Point example that uses Queues this would be a good model
to follow.
https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1/java/client/example/src/main/java/org/apache/qpid/example/simple/point2point/Simple.java

As there are two types of subscribers Durable and or not. What would be interesting would
be to have something like

A durable subscriber (DS) created then closed.

Message1 sent to the topic

A new subscriber (S) created

Message2 sent to the topic

Show that S gets message 2

Show that DS gets message 1 & 2

Give us a shout if you need any help, if your interested in writing examples then I'm sure
there are a bunch more that would be interesting to have.


> Provide Simple Pub/Sub examples that do not use extends
> -------------------------------------------------------
>
>                 Key: QPID-896
>                 URL: https://issues.apache.org/jira/browse/QPID-896
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Client
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: VerySimpleSend.java
>
>
> The examples we currently have are overly complicated for new JMS users.
> Ensure we provide the following examples that are self contained and well documented.
> - Point to Point
> - Publish / Subscribe
> - Request / Response
> While this code is available with a quick google it would be better to bundle examples
that are well documented and work out of the box with Qpid.
> This JIRA should potentially be duplicated across all languages. (obviously without the
JMS slant)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message