activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1504: fix typo in the comment
Date Fri, 01 Sep 2017 21:26:18 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1504#discussion_r136668349
  
    --- Diff: examples/features/standard/queue/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
---
    @@ -37,7 +37,7 @@ public static void main(final String[] args) throws Exception {
              // Step 1. Create an initial context to perform the JNDI lookup.
              initialContext = new InitialContext();
     
    -         // Step 2. Perfom a lookup on the queue
    +         // Step 2. Perform a lookup on the queue
              Queue queue = (Queue) initialContext.lookup("queue/exampleQueue");
    --- End diff --
    
    you know although I would prefer users to not use JNDI. either session.createQueue() or
direct create the queue.
    
    there are so many examples that we did not have time to update all of them.. even the
create connection factory is preferred to use an URI.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message