Hi,
1. we generate generated emails by (WAR).
2. verify them using a stateles EJB and
3. send them each hour (Quartz-SAR).
My EJB is stateles, so i need to collect the mails on the StatefulJob.
my Job:
@ResourceAdapter("quartz-ra.rar")
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "cronTrigger", propertyValue = "0 * * * * ?") }
)
public class RegistrationEmails extends ArrayList<RegistrationTransferObject>
implements StatefulJob { ... }
and my EJB:
@EJB(beanName="RegistrationEmails") | |
private List<RegistrationTransferObject> registration; |