Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在使用 MDB 的 JMS 应用程序中拥有ejb-jar.xml和jboss.xml文件。
ejb-jar.xml
jboss.xml
我已经在destination-service.xml. 但是我的 MDB 没有调用。
destination-service.xml
是否有任何服务器文件要配置为调用 MDB?
您只需要定义队列或主题,因此请检查您是否在应用程序中使用了正确的队列名称。
检查名称的最简单方法是在 jmx-console 或日志中查找它:JBoss 打印队列的名称。它有一个前缀,所以查找 queue/YOUR-QUEUE-NAME,在与 MDB 对话时还需要使用前缀名称。