open class JmsInvokerClientInterceptor : MethodInterceptor, InitializingBean
org.aopalliance.intercept.MethodInterceptor for accessing a JMS-based remote service. Serializes remote invocation objects and deserializes remote invocation result objects. Uses Java serialization just like RMI, but with the JMS provider as communication infrastructure. To be configured with a javax.jms.QueueConnectionFactory and a target queue (either as javax.jms.Queue reference or as queue name). Thanks to James Strachan for the original prototype that this JMS invoker mechanism was inspired by! |
|
open class JmsInvokerProxyFactoryBean : JmsInvokerClientInterceptor, FactoryBean<Any>, BeanClassLoaderAware
FactoryBean for JMS invoker proxies. Exposes the proxied service for use as a bean reference, using the specified service interface. Serializes remote invocation objects and deserializes remote invocation result objects. Uses Java serialization just like RMI, but with the JMS provider as communication infrastructure. To be configured with a javax.jms.QueueConnectionFactory and a target queue (either as javax.jms.Queue reference or as queue name). |
|
open class JmsInvokerServiceExporter : RemoteInvocationBasedExporter, SessionAwareMessageListener<Message>, InitializingBean
JMS message listener that exports the specified service bean as a JMS service endpoint, accessible via a JMS invoker proxy. Note that this class implements Spring's org.springframework.jms.listener.SessionAwareMessageListener interface, since it requires access to the active JMS Session. Hence, this class can only be used with message listener containers which support the SessionAwareMessageListener interface (e.g. Spring's org.springframework.jms.listener.DefaultMessageListenerContainer). Thanks to James Strachan for the original prototype that this JMS invoker mechanism was inspired by! |