-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No queues are visible when session is opened on an embedded Apache ActiveMQ #17
Comments
If you can see the Queues and Topics with jconsole, could you get the fully qualifiied QName of one of them? |
I tested it here with this code that starts and embedded ActiveMQ v5.15.4 broker, create one queue and one topic and it works with JMSToolBox...
|
Normally with recent versions of ActiveMQ, the Queues are listed in JMX as: In your case they are named: This very strange and this is why JTB does not find them as it is looking for Below the JConsole print screen of my tests with an embedded ActiveMQ from the code I posted earlier |
Please find in the repository below the code that starts the embedded activemq. As you can notice, JMSToolBox with the latest commit works: it has been necessary to change the jmxDomainName specified in the configuration for activemq (see ActiveMQ JMX Configuration). Because the domain name can be modified, wouldn't be better to make it configurable in JMSToolBox as well? If you decide that is not worth, I think it would be better to document this constraint. |
The code changes i made for v4.11.0 should allow JTB to discover the destinations whatever the JMX domain name is. Some links: |
Specifications
Expected Behavior
In the running ActiveMQ broker there are a couple of queues.
I can see them using jconsole and the connection string:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
Using jconsole, I can send messages to the existing queues as well.
I am expecting to see the same queues in JMSToolbox.
Actual Behavior
After opening a connection, I do not see any queue.
There is an exception in the .log file. See attachments.
Steps to Reproduce the Problem
queue manager: Apache Active MQ
hostname: localhost
port: 1099
I can see the folder "Queues" and "Topics" but no children.
jmstoolbox.log
log.log
The text was updated successfully, but these errors were encountered: