To: users@qpid.apache.org
Sent: Wednesday, August 3, 2011 5:44:19 PM
Subject: Re: How to set subject in Java spout?
In addition to what Alan suggested (which is the preferred way) you
can do the following as well.
java -cp $QP org.apache.qpid.example.Spout -P=qpid.subject=hello "demoQueue"
In addition to what Alan suggested (which is the preferred way) you
can do the following as well.
java -cp $QP org.apache.qpid.example.Spout -P=qpid.subject=hello "demoQueue"
If you type -h or --help, it will tell you how to specify these properties.
regards,
Rajith
On Wed, Aug 3, 2011 at 9:34
On 08/03/2011 06:47 AM, Pavel Moravec wrote:
Hi all,
comparing C++ and Java spout programs, I realized I am unable to set subject of
a message using Java Spout program.
C++ has syntax:
./spout -b localhost:5672 -c 1 -P '{subject:Some_subject}' testQueue
but trying the same in Java client does
Hi all,
comparing C++ and Java spout programs, I realized I am unable to set subject of
a message using Java Spout program.
C++ has syntax:
./spout -b localhost:5672 -c 1 -P '{subject:Some_subject}' testQueue
but trying the same in Java client does not work:
# cd /usr/share/doc/qpid-java-0