anonymous wrote : @MessageDriven(activationConfig = [EMAIL
PROTECTED](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 = [EMAIL PROTECTED](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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user