Bug 731372

Summary: No message is sent when using java spout with "-c 0" option
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: qpid-javaAssignee: messaging-bugs <messaging-bugs>
Status: NEW --- QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.0CC: iboverma, jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Matousek 2011-08-17 13:08:45 UTC
Description of problem:

No message is sent when using java spout with "-c 0" option

Other clients sending limitless amount of messages in loop.

All the clients shall behave the same way. 

Version-Release number of selected component (if applicable):
qpid-java-0.10-6

How reproducible:
100%

Steps to Reproduce:
1. java -cp $CLASSPATH org.apache.qpid.example.Spout -c 0 "q;{ create:sender}"
2. java -cp $CLASSPATH org.apache.qpid.example.Drain "q"
3. no message is consumed (no message was sent)
  
Actual results:
No message is sent using "spout -c 0"

Expected results:
Messages are sent in loop with "spout -c 0" until interrupted by user

Additional info: