activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AMQCPP-116) quick improvements to CMS example code
Date Wed, 23 May 2007 12:53:35 GMT

     [ https://issues.apache.org/activemq/browse/AMQCPP-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish reassigned AMQCPP-116:
-----------------------------------

    Assignee: Timothy Bish  (was: Nathan Mittler)

> quick improvements to CMS example code
> --------------------------------------
>
>                 Key: AMQCPP-116
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-116
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: all
>            Reporter: Greg Griffin
>         Assigned To: Timothy Bish
>            Priority: Minor
>             Fix For: 2.1
>
>
> In the CMS example code, http://activemq.apache.org/cms/example.html :
>   * the producer's counting starts at zero, but the consumer's starts at 1, so what's
printed makes it seem like the code somehow sends an extra message. Can fix by:
>         printf( "Sent message #%d from thread %s\n", ix+1, threadIdStr.c_str() );
>                                                                                     
           ^^
>         or change how the loop is done
>    * in snippet:
>     // Give the consumer a but to start up.
>     Thread::sleep( 75 );
>           "but" should be "bit"
>     

-- 
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