XMLWordPrintable

Details

    Description

      It would be good to have a command to quickly add a new JMSDestinationDefinition to allow sending messages :

      jms-add-destination-definition --named myDestination --interfaceName javax.jms.Topic --destinationName myTopic
      

      This will create a new class called org.myproject.jms.MessageResources if it doesn't exist, and will add a new JMSDestinationDefinition :

      package org.myproject.jms;
      
      @JMSDestinationDefinitions({
            @JMSDestinationDefinition(
                  name = "myDestination",
                  interfaceName = "javax.jms.Topic",
                  destinationName = "myTopic"
                  )
      })
      public class MessageResources {
      } 
      

      Tying the command a second time will add a new JMSDestinationDefinition to the exiting JMSDestinationDefinitions :

      @JMSDestinationDefinitions({
      @JMSDestinationDefinition(
      name = "myDestination",
      interfaceName = "javax.jms.Topic",
      destinationName = "myTopic"
      ),
      @JMSDestinationDefinition(
      ...
      )
      })
      public class MessageResources

      { } {code}

      Attachments

        Activity

          People

            Unassigned Unassigned
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: