From: Roland Häder Date: Tue, 21 Jun 2016 08:52:34 +0000 (+0200) Subject: Some improvements: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d0efbd5426ed43521b81398a36c8cdb54a1cb41;p=pizzaservice-ejb.git Some improvements: - added name and description (please cherry-pick) - re-aligned the annotations more nicely Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/mailer/model/delivery/PizzaEmailDeliveryMessageBean.java b/src/java/org/mxchange/pizzaapplication/mailer/model/delivery/PizzaEmailDeliveryMessageBean.java index 4206c2c..11932b6 100644 --- a/src/java/org/mxchange/pizzaapplication/mailer/model/delivery/PizzaEmailDeliveryMessageBean.java +++ b/src/java/org/mxchange/pizzaapplication/mailer/model/delivery/PizzaEmailDeliveryMessageBean.java @@ -36,10 +36,20 @@ import org.mxchange.pizzaaplication.database.BasePizzaDatabaseBean; *

* @author Roland Haeder */ -@MessageDriven (activationConfig = { - @ActivationConfigProperty (propertyName = "destinationLookup", propertyValue = "jms/jlandingpage-email-queue"), - @ActivationConfigProperty (propertyName = "destinationType", propertyValue = "javax.jms.Queue") -}) +@MessageDriven ( + name = "emailDelivery", + description = "A message-driven bean for email delivery (some kind of 'queue')", + activationConfig = { + @ActivationConfigProperty ( + propertyName = "destinationLookup", + propertyValue = "jms/jreports-email-queue" + ), + @ActivationConfigProperty ( + propertyName = "destinationType", + propertyValue = "javax.jms.Queue" + ) + } +) public class PizzaEmailDeliveryMessageBean extends BasePizzaDatabaseBean implements MessageListener { /**