Class GenericMessageEndpointFactory

java.lang.Object
org.springframework.jca.endpoint.AbstractMessageEndpointFactory
org.springframework.jca.endpoint.GenericMessageEndpointFactory
All Implemented Interfaces:
MessageEndpointFactory, Aware, BeanNameAware

public class GenericMessageEndpointFactory extends AbstractMessageEndpointFactory
Generic implementation of the JCA 1.7 MessageEndpointFactory interface, providing transaction management capabilities for any kind of message listener object (for example, MessageListener objects or MessageListener objects).

Uses AOP proxies for concrete endpoint instances, simply wrapping the specified message listener object and exposing all of its implemented interfaces on the endpoint instance.

Typically used with Spring's GenericMessageEndpointManager, but not tied to it. As a consequence, this endpoint factory could also be used with programmatic endpoint management on a native ResourceAdapter instance.

Since:
2.5
Author:
Juergen Hoeller
See Also: