This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
The only change I made was from a topic to a queue. Everything compiles fine and deploys fine. However, after deployment and I activate my bean, I get the following error:
The Message Driven Bean, JJGTestMDB does not have a Message Destination configured. The message destination must be set using a message-destination link, a destination-resource link or destination-jndi-name.
In my code, I have javax.jms.Queue and jms/QueueConnectionFactory set the same way he has them set in the Topic example. Can anyone suggest where I may need to do?
The properties actually depend on the application server and the jms provider. As per the EJB3 xsd:
The activation-config-property-name element contains the name for an activation configuration property of a message-driven bean. For JMS message-driven beans, the following property names are recognized: acknowledgeMode, messageSelector, destinationType, subscriptionDurability