jboss-messaging

How to order deployment of EJBs and JMS queue config in JBoss 5?

故事扮演 提交于 2019-12-07 04:10:15
问题 I'm using JBoss [EAP] 5.0.0.GA and I have an EAR which contains an EJB jar that contains some MDBs which depend on the existence of the JMS queues that they use. When I configured the queues in .../server/all/deploy/messaging/myqueues-service.xml there was no problem. However, I wanted to configure the queues in the EAR file to avoid having to make changes to the JBoss config directly. No problem, I put my myqueues-service.xml file into the root of the EAR and added the reference to my jboss

Jboss Messaging JMS

我的梦境 提交于 2019-12-04 17:46:22
I successfully managed to send the message to queue name ReceiverQueue on my localhost Jboss server, how can I retrieve message I sent to it or how do I check if there is any messages in the queue if any retrieve them. or can I get an explanation of some sort what is the best way to do this. Thank you A working send/receive tutorial would be accept as well. Anything that will get me to just send to the queue and receive message from that queue will get accepted answer. I'm using Spring. I want a solution that does it using application context with bean injection .. Standard JMS API steps: 1.