javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-171

Add info on JMS resource-definition annotations and use in some examples

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.1
    • Fix Version/s: 7.0.2
    • Component/s: doc
    • Labels:
      None

      Description

      Nigel Deakin (JMS spec lead) pointed out that Java EE 7 supports two new annotations that need to be documented. These allow resources to be configured by the developer rather than the administrator. They should also be used in some of the JMS examples.

      Examples:

      @JMSDestinationDefinition(
      name = "java:global/jms/tutorialQueue",
      description = "Queue to use in tutorial",
      interfaceName = "javax.jms.Queue"
      destinationName = "MyQueueForTutorial"
      )

      @JMSConnectionFactoryDefinition(
      name="java:global/jms/tutorialConnectionFactory",
      description="ConnectionFactory to use in tutorial"
      )

        Activity

          People

          • Assignee:
            Kim Haase
            Reporter:
            Kim Haase
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: