Repository: qpid-jms Updated Branches: refs/heads/master b576d7923 -> 4572ab8c9
small tweaks Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/4572ab8c Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/4572ab8c Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/4572ab8c Branch: refs/heads/master Commit: 4572ab8c9f286f4ad427ada60ba763a241bfb05b Parents: b576d79 Author: Robert Gemmell <[email protected]> Authored: Thu Feb 5 17:41:11 2015 +0000 Committer: Robert Gemmell <[email protected]> Committed: Thu Feb 5 17:41:11 2015 +0000 ---------------------------------------------------------------------- Configuration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/4572ab8c/Configuration.md ---------------------------------------------------------------------- diff --git a/Configuration.md b/Configuration.md index 7e07fb6..db76678 100644 --- a/Configuration.md +++ b/Configuration.md @@ -31,6 +31,8 @@ Applications use a JNDI InitialContext, itself obtained from an InitialContextFa 3. Programatically using an environment Hashtable. + The InitialContext may also be configured directly by passing an environment during creation: + Hashtable<Object, Object> env = new Hashtable<Object, Object>(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.qpid.jms.jndi.JmsInitialContextFactory"); javax.naming.Context context = new javax.naming.InitialContext(env); @@ -41,15 +43,15 @@ Applications use a JNDI InitialContext, itself obtained from an InitialContextFa ## Qpid JmsInitialContextFactory properties syntax -* To define a ConnectionFactory: connectionfactory.lookupName = URI +* To define a ConnectionFactory, use *connectionfactory.lookupName = URI*, e.g: connectionfactory.myFactoryLookup = amqp://localhost:5672 -* To define a Queue: queue.lookupName = queueName +* To define a Queue, use *queue.lookupName = queueName*, e.g: queue.myQueueLookup = queueA -* To define a Topic: topic.lookupName = topicName +* To define a Topic use *topic.lookupName = topicName*, e.g: topic.myTopicLookup = topicA --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
