Flume
  1. Flume
  2. FLUME-2311

Use standard way of finding queue/topic

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: v1.4.0
    • Fix Version/s: v1.5.0
    • Component/s: None
    • Labels:
    • Release Note:
      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

      Hugo Lassiège 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 ?

      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

          Brock Noland made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Brock Noland made changes -
          Assignee Hugo Lassiège [ hlassiege ]
          Fix Version/s v1.5.0 [ 12324642 ]
          Hugo Lassiège made changes -
          Link This issue is related to FLUME-2313 [ FLUME-2313 ]
          Hugo Lassiège made changes -
          Link This issue is a clone of FLUME-2313 [ FLUME-2313 ]
          Hugo Lassiège made changes -
          Attachment 0001-Patch-for-FLUME-2311.patch [ 12627582 ]
          Hugo Lassiège made changes -
          Link This issue is a clone of FLUME-2313 [ FLUME-2313 ]
          Hugo Lassiège made changes -
          Attachment 0001-Patch-for-FLUME-2311.patch [ 12627324 ]
          Hugo Lassiège made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Release Note Use of JNDI lookup to find destination. The default mode still use "Create destination identifier" mode. Use destinationLocator=JNDI to enable this feature
          Affects Version/s v1.4.0 [ 12323372 ]
          Labels flume jms patch
          Brock Noland created issue -

            People

            • Assignee:
              Hugo Lassiège
              Reporter:
              Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development