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
I believe this was fixed upstream via https://issues.apache.org/jira/browse/ARTEMIS-303. I recommend you upgrade to the latest release of Wildfly as it contains Artemis 1.2.0 which will have this fix.