You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2007/05/23 14:53:36 UTC
[jira] Updated: (AMQCPP-116) quick improvements to CMS example code
[ https://issues.apache.org/activemq/browse/AMQCPP-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish updated AMQCPP-116:
--------------------------------
Component/s: CMS Impl
Fix Version/s: 2.1
> 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.