[jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem deploying MDB
jaikiran
do-not-reply at jboss.com
Mon Feb 25 05:09:16 EST 2008
anonymous wrote : @MessageDriven(activationConfig = {@ActivationConfigProperty(propertyName= "destinationType", propertyValue="javax.jms.Queue")})
| public class AlertEmailSender implements MessageListener {
You haven't specified the queue name to which this MDB is listening. Add the @ActivationConfigProperty(propertyName="destination",propertyValue="queue/EmailQueue") to your annotations:
|
| @MessageDriven(activationConfig = {@ActivationConfigProperty(propertyName= "destinationType", propertyValue="javax.jms.Queue"),
| @ActivationConfigProperty(propertyName="destination",
| propertyValue="queue/mdb")})
| public class AlertEmailSender implements MessageListener {
See the MDB section in EJB3 trail at http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/index.html
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131767#4131767
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131767
More information about the jboss-user
mailing list