Class ExtendedJmsInvokerServiceExporter<S extends javax.jms.Destination>

java.lang.Object
org.springframework.remoting.support.RemotingSupport
org.springframework.remoting.support.RemoteExporter
org.springframework.remoting.support.RemoteInvocationBasedExporter
org.springframework.jms.remoting.JmsInvokerServiceExporter
com.adaptris.jmx.remote.jms.ExtendedJmsInvokerServiceExporter<S>
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 final String
     
    protected final org.slf4j.Logger
     

    Fields inherited from class org.springframework.remoting.support.RemotingSupport

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract S
    createReplyTo(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 Details

    • FALLBACK_REPLY_TO_KEY

      public static final String FALLBACK_REPLY_TO_KEY
      See Also:
    • log

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

    • ExtendedJmsInvokerServiceExporter

      public ExtendedJmsInvokerServiceExporter()
  • Method Details

    • 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(String name, javax.jms.Session session) throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException