Uses of Enum Class
org.glassfish.ejb.mdb.MessageBeanContainer.MessageDeliveryType
Packages that use MessageBeanContainer.MessageDeliveryType
-
Uses of MessageBeanContainer.MessageDeliveryType in org.glassfish.ejb.mdb
Methods in org.glassfish.ejb.mdb that return MessageBeanContainer.MessageDeliveryTypeModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.MessageBeanContainer.MessageDeliveryType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.glassfish.ejb.mdb with parameters of type MessageBeanContainer.MessageDeliveryTypeModifier and TypeMethodDescriptionvoidMessageBeanContainer.beforeMessageDelivery(Method method, MessageBeanContainer.MessageDeliveryType deliveryType, boolean txImported, com.sun.appserv.connectors.internal.api.ResourceHandle resourceHandle) Actual message delivery happens in three steps : 1) beforeMessageDelivery(Message, MessageListener) This is our chance to make the message delivery itself part of the instance's global transaction. 2) onMessage(Message, MessageListener) This is where the container delegates to the actual ejb instance's onMessage method. 3) afterMessageDelivery(Message, MessageListener) Perform transaction cleanup and error handling.