1 Reply Latest reply on Mar 28, 2016 8:53 PM by jbertram

    Unable to check current subscription of a topic in Wildfly 8.2.0.Final

    arnab_ghosh

      Hi All,

       

      I am unable to check the current subscriptions for a Topic using Jboss -CLI. Getting the below error:

      [standalone@localhost:19990 /] /subsystem=messaging/hornetq-server=default/jms-topic=MasterLink:list-all-subscriptions-as-json
      {
          "outcome" => "success",
          "result" => "javax.jms.JMSRuntimeException: Invalid message queue name: AmpSearchMasterLinkingBean"
      }
      

       

      The MDB Listening to the Topic has following activation properties. Please note this a remote topic

       

      @MessageDriven(activationConfig = { 
          @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
          @ActivationConfigProperty(propertyName = "destination", propertyValue = "topic/MasterLink"),
          @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "Durable"),
          @ActivationConfigProperty(propertyName = "subscriptionName", propertyValue = "AmpSearchMasterLinkingBean"), 
          @ActivationConfigProperty(propertyName = "reconnectAttempts", propertyValue = "-1"),
          @ActivationConfigProperty(propertyName = "setupAttempts", propertyValue = "-1"),
          @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "5") })
      @ResourceAdapter("pooled-remote-connection-factory")
      

       

      Please let me know what I am missing.

       

      Regards

      Arnab