public void endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
throws ResourceException
{
log.debug("endpointActivation, spec="+spec);
MailActivationSpec mailSpec = (MailActivationSpec) spec;
MailActivation activation = new MailActivation(this, endpointFactory,
mailSpec);
try
{
newMsgsWorker.watch(activation);