Github user gemmellr commented on the pull request:
https://github.com/apache/qpid-jms/commit/9b187287403fda5eebb2da7fff3c11a192575985#commitcomment-19759059
Please ask such questions on the users list (see
https://qpid.apache.org/discussion.html) in future rather than by comment on
random old commits.
This is actually covered in the documentation (see
http://qpid.apache.org/releases/qpid-jms-0.11.1/docs/index.html#configuring-a-jndi-initialcontext
for the current version). Simply include the
connectionfactory.myFactoryLookup=myBrokerURL (i.e property=value) definition
for your ConnectionFactory within the environment table rather than in a JNDI
properties file. You'll still need to tell it to use the
JmsInitialContextFactory class. You won't use the InitialContext.PROVIDER_URL
key at all since thats explicitly used for pointing to the file.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]