Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2311

Use standard way of finding queue/topic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • None
    • Use of JNDI lookup to find destination. The default mode still use "Create destination identifier" mode. Use destinationLocator=JNDI to enable this feature

    Description

      Here https://issues.apache.org/jira/browse/FLUME-924?focusedCommentId=13890651&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13890651

      hlassiege says:

      I'm currently using this jms source to connect on Weblogic message bus. I'm wondering why the JMSMessageConsumer use createQueue and createTopic instead of lookup to find the destinations (line 83 to 90).
      It seems that "createQueue" or "createTopic" are not the recommended way because it is not portable (I saw that warning in Weblogic documentation even if I can't justify this assertion).
      The documentation recommends to use a JNDI lookup (http://docs.oracle.com/cd/E23943_01/web.1111/e13727/lookup.htm#BABDFCIC).
      Is there any reason to use createQueue instead of lookup ?

      Attachments

        1. 0001-Patch-for-FLUME-2311.patch
          19 kB
          Hugo Lassiège
        2. 0001-Patch-for-FLUME-2311.patch
          19 kB
          Hugo Lassiège

        Issue Links

          Activity

            People

              hlassiege Hugo Lassiège
              brocknoland Brock Noland
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: