Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3889

Invalid ObjectName for MDB listening to wildcard destination

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0.0-M7, 8.0.10
    • 9.0.0-M8, 8.0.11
    • None
    • None

    Description

      The following MDB will work ok, but fail to register a JMX MBean as the MBean ObjectName cannot contain an asterisk:

       

      @MessageDriven(
      activationConfig =

      { @ActivationConfigProperty(propertyName = "destination", propertyValue = "dest.*.event"), @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"), }

      )
      public static class WildcardMdb implements MessageListener {
      @Override
      public void onMessage(final Message message)

      { System.out.println("Message received"); }

      }

       

       

      Attachments

        Activity

          People

            jgallimore Jonathan Gallimore
            jgallimore Jonathan Gallimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: