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: CLOSED UPSTREAM
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: 2025-02-10 03:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:14:09 UTC
Target Upstream Version:
Embargoed:


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:

Comment 3 Red Hat Bugzilla 2025-02-10 03:14:09 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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