glassfish
  1. glassfish
  2. GLASSFISH-19558

Deploy MDB with any single property of destinationLookup, mappedName and destination specified.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b70
    • Fix Version/s: 4.0_b71
    • Component/s: None
    • Labels:
      None

      Description

      With current jms implementation, if mappedName or <message-destination> in DD is not specified, whether or not destinationLookup/destination is specified in activationSpec is specified, the MDB deployment will fail by error message "missing destination JNDI name". This is incorrect.

      It is expected that any single property of destinationLookup, mappedName and destination specified can take effect for sucessful MDB deployment. If all of them are provided, the desired overriding order should be "destinationLookup over destination, and destination over mappedName".

      One more thing that can be enhanced is about the error message, which could be misleading: "missing destination JNDI name". It is proposed being changed to "MDB destination not specified".

        Issue Links

          Activity

          Hide
          David Zhao added a comment -

          Fixed by revision 58778.

          Show
          David Zhao added a comment - Fixed by revision 58778.

            People

            • Assignee:
              David Zhao
              Reporter:
              David Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: