Bug 731372 - No message is sent when using java spout with "-c 0" option
Summary: No message is sent when using java spout with "-c 0" option
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-java
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-17 13:08 UTC by Petr Matousek
Modified: 2018-02-06 16:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.