能否通过JBoss 6管理控制台向jms:queue发送消息?
Can I send messages via the JBoss 6 Management Console?
Short answer: No, you can't manually send messages to a jms:queue directly through the JBoss 6 Management Console.
As you've observed, the control tab in the console only exposes a limited set of queue management operations: remove, expire, move, send to dead letter channel, pause, and reset. There's no built-in graphical interface option to compose and send a new message to your queue.
If you need to test sending messages to your jms:queue, here are a few practical workarounds:
- Build a simple JMS client: Use JBoss's JMS API to write a small program that connects to your queue via JNDI, constructs a message (text, object, etc.), and sends it. This gives you full control over message content, headers, and properties.
- Use the JBoss CLI: While the web console lacks this feature, you can explore using the JBoss Command Line Interface to execute commands that send messages to your queue. Refer to the JBoss 6 documentation for specific syntax.
- Third-party JMS tools: There are standalone JMS testing clients available that let you configure JNDI connection details for your JBoss instance and send messages through a graphical interface.
内容的提问来源于stack exchange,提问作者Mikita Herasiutsin
相关产品推荐
相关产品推荐

