public interface JmsActivationSpecFactory
JmsActivationSpecConfig
object.
JCA 1.5 ActivationSpec objects are typically JavaBeans, but unfortunately provider-specific. This strategy interface allows for plugging in any JCA-based JMS provider, creating corresponding ActivationSpec objects based on common JMS configuration settings.
JmsActivationSpecConfig
,
JmsMessageEndpointManager.setActivationSpecFactory(org.springframework.jms.listener.endpoint.JmsActivationSpecFactory)
,
ResourceAdapter.endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)
Modifier and Type | Method and Description |
---|---|
ActivationSpec |
createActivationSpec(ResourceAdapter adapter,
JmsActivationSpecConfig config)
Create a JCA 1.5 ActivationSpec object based on the given
JmsActivationSpecConfig object. |
ActivationSpec createActivationSpec(ResourceAdapter adapter, JmsActivationSpecConfig config)
JmsActivationSpecConfig
object.adapter
- the ResourceAdapter to create an ActivationSpec object forconfig
- the configured object holding common JMS settings