qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair MacLeod (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that do not use extends
Date Sat, 05 Apr 2008 22:55:26 GMT

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

Alasdair MacLeod commented on QPID-896:
---------------------------------------

Arnaud,

I think it depends on the audience.

I am learning the JMS API so my priority is to make things as simple as possible and focus
purely on the messaging code.  I have read the examples shipped with QPID and understood the
principles of the JNDI lookup etc but wanted to remove any possibility of side-effects or
errors due to misconfiguration.  I.e. what I'm looking for is very naive and straightforward
code that exercises the API and nothing else.  I also wanted to understand if an app would
have any direct dependencies on the qpid code base.  The examples reference some qpid classes
but it seems that (beyond initial context creation) an app can be purely JNDI and JMS.

The docs are a bit sparse so I took the sun tutorials as my starting point.  I started writing
very simple apps to excercise features of JMS, using QPID as the server - when I saw this
JIRA issue I thought the bits of code I've written might be of use - and I'll personally feel
far more motivated if the code I write will actually have some end use.

Alasdair


> 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