You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/04/02 11:48:27 UTC
[jira] Created: (QPID-896) Provide Simple Pub/Sub examples that do
not use extends
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
Fix For: M2.1
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.
[jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that
do not use extends
Posted by "Alasdair MacLeod (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591470#action_12591470 ]
Alasdair MacLeod commented on QPID-896:
---------------------------------------
I've put together a series of examples, could do with someone giving them the once over
Examples:
Durable subscription
Simple point to point (very basic send and receive messages)
Transactional point to point (see how rollback and commit affect send and receive)
Simple request / response
Queue browser example
View connection meta data
> 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
> Affects Versions: M2.1, M3
> 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.
[jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that
do not use extends
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ 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.
[jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that
do not use extends
Posted by "Alasdair MacLeod (JIRA)" <qp...@incubator.apache.org>.
[ 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.
[jira] Updated: (QPID-896) Provide Simple Pub/Sub examples that do
not use extends
Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marnie McCormack updated QPID-896:
----------------------------------
Fix Version/s: (was: M4)
Descoping items not being worked on for M4 into Unknown Fix Version for now
> 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
> Affects Versions: M2.1, M3
> 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.
[jira] Updated: (QPID-896) Provide Simple Pub/Sub examples that do
not use extends
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie updated QPID-896:
--------------------------------
Affects Version/s: M3
M2.1
> 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
> Affects Versions: M2.1, M3
> 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.
[jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that
do not use extends
Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585442#action_12585442 ]
Arnaud Simon commented on QPID-896:
-----------------------------------
Hi,
Do you think the samples we have in: org.apache.qpid.example.jmsexample (trunk) are too complicated?
Arnaud
> 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.
[jira] Updated: (QPID-896) Provide Simple Pub/Sub examples that do
not use extends
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie updated QPID-896:
--------------------------------
Fix Version/s: (was: M2.1)
> 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
>
> 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.
[jira] Updated: (QPID-896) Provide Simple Pub/Sub examples that do
not use extends
Posted by "Alasdair MacLeod (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alasdair MacLeod updated QPID-896:
----------------------------------
Attachment: VerySimpleSend.java
Suggested simple example file - is this the sort of thing you're thinking of for this issue?
> 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.
[jira] Commented: (QPID-896) Provide Simple Pub/Sub examples that
do not use extends
Posted by "Alasdair MacLeod (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586123#action_12586123 ]
Alasdair MacLeod commented on QPID-896:
---------------------------------------
Sent email with example code to Martin
> 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.