]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Some improvements:
authorRoland Häder <roland@mxchange.org>
Tue, 21 Jun 2016 08:52:34 +0000 (10:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Jul 2016 20:00:18 +0000 (22:00 +0200)
- added name and description (please cherry-pick)
- re-aligned the annotations more nicely

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/mailer/model/delivery/PizzaEmailDeliveryMessageBean.java

index 4206c2c1cc848f3341677c2817c3c938cd662f0e..11932b6874ad0f9226f1903f937f369e5317d3a5 100644 (file)
@@ -36,10 +36,20 @@ import org.mxchange.pizzaaplication.database.BasePizzaDatabaseBean;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-@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 {
 
        /**