Red Hat Bugzilla – Bug 1271994
[Docs] MPR Qpid JMS amqp 1.0 client configuration examples of JNDI properties might be wrong
Last modified: 2015-10-16 08:51:15 EDT
Title: QPID AMQP 1.0 JMS Client Configuration
This Bz is connected to Bug 1271434. Creating this new BZ as stated in Bug 1271434#10
I think there are the following issues in 21.1 part of current MPR.
(Possible errors are listed under a,b,c..)
21.1. QPID AMQP 1.0 JMS Client Configuration
a) How is it with words in bold and following commas? I see there "extra" space, which should not be there. It seems to me, that is just an error of used template, so it is not an error(?)
b) In the second paragraph "class org.apache.qpid.jms.jndi.JmsInitialContextFactory" - wrong bold text, font issue? missing dot in 'visual mode', but when copy&pasted - dot is there. Could you try using italics for whole class name?
c) 1. Via jndi.properties file on the Java Classpath.
I believe in example in the grey box, there should be an example of JNDI property file, not how to create Context.
d) 2. Via system properties.
e) Just a little bold/not bold text in 21.2. QPID AMQP 1.0 JMS Client Connection URLs
Why are some bold and some not?
"Connection, Session, MessageConsumer and MessageProducer."
- either make Connection/Session also bold or please unbold them all (and ConnectionFactory above
I think that c) and d) are rather questions for Robbie.
The items you reference above as c) and d) are as expected. The section is about how to instantiate the InitialContext in code, which the example code segments show for the three general cases detailed with the surrounding text describing the scenario. They each reference a common overview of the properties [file] format since it applies to them all, avoiding duplicating the details, with a general example of the properties and how the context might be used then given.
Thank you for your anwsers.
Checked the fixes and marking as verified.