Bug 1271994 - [Docs] MPR Qpid JMS amqp 1.0 client configuration examples of JNDI properties might be wrong
Summary: [Docs] MPR Qpid JMS amqp 1.0 client configuration examples of JNDI properties...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Messaging_Programming_Reference
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Messaging QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-15 09:01 UTC by Michal Toth
Modified: 2025-02-10 03:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Build Name: 19948, Messaging Programming Reference-3-3.2.0 Build Date: 15-10-2015 12:05:07 Topic ID: 44875-771734 [Latest]
Last Closed: 2025-02-10 03:48:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1271434 0 unspecified CLOSED [Docs Post-GA] Update QPID JMS content for AMQP 1.0 2025-02-10 03:48:18 UTC

Internal Links: 1271434

Description Michal Toth 2015-10-15 09:01:58 UTC
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.
For example
java.naming.factory.initial=org.apache.qpid.jms.jndi.JmsInitialContextFactory


d) 2. Via system properties.
-Djava.naming.factory.initial=org.apache.qpid.jms.jndi.JmsInitialContextFactory


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.

Comment 1 Robbie Gemmell 2015-10-15 10:49:13 UTC
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.

Comment 4 Michal Toth 2015-10-16 12:51:15 UTC
Thank you for your anwsers. 
Checked the fixes and marking as verified.

Comment 7 Red Hat Bugzilla 2025-02-10 03:48:18 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.