This content has been marked as final.
Show 2 replies
-
1. Re: JCA und MDB understanding
ralf.siedow Aug 17, 2004 5:14 AM (in response to ralf.siedow)Btw, I'm refering to EJB 2.1 and JCA 1.5. I'm using JBoss 4.0.0RC1
-
2. Re: JCA und MDB understanding
ralf.siedow Aug 17, 2004 5:55 AM (in response to ralf.siedow)What I'm wondering about is the cast to of endpoint to JavaMailMessageListener because JMMListener isn't in the type hierarchy. I took this example from the SUN Appserver.
class samples.connectors.inbound.ra.EndpointConsumerImpl, lline 125:
if ( (endpoint = endpointFactory.createEndpoint(null)) != null)
{
//If this was an XA able RA then invoke: endpoint.beforeDelivery();
((samples.connectors.inbound.api.JavaMailMessageListener) endpoint).onMessage(message);
}