-
1. Re: JBoss 7.1: MDB not consuming ActiveMQ messages
sfcoy Jan 25, 2012 6:34 PM (in response to ned233)What are using for a connection factory in the producer?
Perhaps you can show a bit of the code that adds the message.
-
2. Re: JBoss 7.1: MDB not consuming ActiveMQ messages
ned233 Jan 26, 2012 7:54 AM (in response to sfcoy)I have added a message in 2 ways:
1. Using the ActiveMQ admin console, I find the queue and click the "Send To" link, and manually add a text message there. My non-mdb listener picks this message up just fine.
2. Via code, using ActiveMQConnectionFactory. Again, my non-mdb listener picks this message up as well.
I am attaching the non-MDB code that works, as well as the MDB that does not work. I am also attaching my standalone.xml. Please let me know if you need anything else.
Thanks,
Ed
-
standalone.xml 27.5 KB
-
TestAQService.java.zip 631 bytes
-
TestAQ.java.zip 1.1 KB
-
-
3. Re: JBoss 7.1: MDB not consuming ActiveMQ messages
ned233 Jan 26, 2012 9:37 AM (in response to ned233)I just downloaded the latest snapshot (1/25/2012), and now instead of starting with no errors, JBoss starts with reporting the following error: Run method is synchronized.
This is already an issue that is part of another discussion (https://community.jboss.org/message/648857), so I will mark this issue as "Answered" and hopefully we can get a resolution on the other issue.