Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6708

MDB WTP Wizard Annotations for HornetQ

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • 3.2.x
    • 3.1.1
    • server
    • None
    • Hide

      cut old annotations and paste in the ones that work with HornetQ

      Show
      cut old annotations and paste in the ones that work with HornetQ

    Description

      Using the Message Driven Bean WTP Wizard that is in JBDS 3.0.1, an annotation in the format is created:

      @MessageDriven( activationConfig = {
      @ActivationConfigProperty(propertyName = "destinationType",
      propertyValue = "javax.jms.Queue"),
      mappedName=mappedName = "queue/testQueue")

      HornetQ will need an annotation in the following format:

      @MessageDriven(
      activationConfig =

      { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/testQueue"), @ActivationConfigProperty(propertyName = "useLocalTx", propertyValue = "true") }

      Either HornetQ will need to correspond to WTPs expectation or the wizard will need to be modified to accept the hornetq specific changes. Since the tooling will still need to work with other providers such as JBoss Messaging, a radio button will need to be added to the Wizard as well to select HornetQ.

      I believe the main issue is that the MappedName specifying the queue name is not used and we now need a destination property. Can hornetQ correspons to the old style? Do we need to a way to add other properties such as transaction related, ie @ActivationConfigProperty(propertyName = "useLocalTx", propertyValue = "true" that the examples doc/examples/hornetq-examples/javaee/ use?

      Attachments

        Issue Links

          Activity

            People

              manderse@redhat.com Max Andersen
              glamperi@redhat.com Gary Lamperillo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: