Hi Rajith and Alan,
thanks for responses. I was aware of the address syntax but forgot to mention
it in my email. My question was rather to -P parameter usage and its syntax in
general, that Rajith answered.
Kind regards,
Pavel
- Original Message -
From: "Rajith Attapattu"
To: users@q
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