On May 18, 2009, at 10:51 PM, Scott Hernandez wrote:
> I was going to start converting a bit of the config from the xml
> mapped names to the actual class names in our resin-web.xml . However
> the names have changed; Is there an example of how this works?
> <!-- Doesn't work because the destination cannot be found -->
> <ejb:MessageBeanConfig destinationName="delivery"
ejb-message-bean is a complicated case because the real bean is your
DeliveryListener. A similar kind of issue applies to remote service
configuration, and bam-service and even Servlets.
I think the right solution is to configure the DeliveryListener with
Or for servlets:
Where @MessageBean and @WebServlet are known annotations. The CanDI
spec's SPI has just changed radically in the last 3 weeks, making that
kind of configuration possible (it's still a few weeks before Resin
supports it, though.)
So, until that's supported, you'll want to stick with <ejb-message-
> <!-- works -->
> Thanks in advance,
> resin-interest mailing list
resin-interest mailing list