Class ExtendedJmsInvokerServiceExporter<S extends javax.jms.Destination>

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.jms.listener.SessionAwareMessageListener<javax.jms.Message>

    public abstract class ExtendedJmsInvokerServiceExporter<S extends javax.jms.Destination>
    extends org.springframework.jms.remoting.JmsInvokerServiceExporter
    Overrides JmsInvokerServiceExporter.writeRemoteInvocationResult so we can derive the replyTo from a StringProperty.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FALLBACK_REPLY_TO_KEY  
      protected org.slf4j.Logger log  
      • Fields inherited from class org.springframework.remoting.support.RemotingSupport

        logger
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract S createReplyTo​(java.lang.String name, javax.jms.Session session)  
      protected javax.jms.Destination getReplyTo​(javax.jms.Message request, javax.jms.Session session)  
      protected void writeRemoteInvocationResult​(javax.jms.Message requestMessage, javax.jms.Session session, org.springframework.remoting.support.RemoteInvocationResult result)  
      • Methods inherited from class org.springframework.jms.remoting.JmsInvokerServiceExporter

        afterPropertiesSet, createResponseMessage, onInvalidRequest, onMessage, readRemoteInvocation, setIgnoreInvalidRequests, setMessageConverter
      • Methods inherited from class org.springframework.remoting.support.RemoteInvocationBasedExporter

        getRemoteInvocationExecutor, invoke, invokeAndCreateResult, setRemoteInvocationExecutor
      • Methods inherited from class org.springframework.remoting.support.RemoteExporter

        checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
      • Methods inherited from class org.springframework.remoting.support.RemotingSupport

        getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FALLBACK_REPLY_TO_KEY

        public static final java.lang.String FALLBACK_REPLY_TO_KEY
        See Also:
        Constant Field Values
      • log

        protected final transient org.slf4j.Logger log
    • Constructor Detail

      • ExtendedJmsInvokerServiceExporter

        public ExtendedJmsInvokerServiceExporter()
    • Method Detail

      • writeRemoteInvocationResult

        protected void writeRemoteInvocationResult​(javax.jms.Message requestMessage,
                                                   javax.jms.Session session,
                                                   org.springframework.remoting.support.RemoteInvocationResult result)
                                            throws javax.jms.JMSException
        Overrides:
        writeRemoteInvocationResult in class org.springframework.jms.remoting.JmsInvokerServiceExporter
        Throws:
        javax.jms.JMSException
      • getReplyTo

        protected javax.jms.Destination getReplyTo​(javax.jms.Message request,
                                                   javax.jms.Session session)
                                            throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • createReplyTo

        protected abstract S createReplyTo​(java.lang.String name,
                                           javax.jms.Session session)
                                    throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException