org.logicblaze.lingo.jms
Class JmsServiceExporterMessageListener
java.lang.Object
org.springframework.remoting.support.RemoteExporter
org.springframework.remoting.support.RemoteInvocationBasedExporter
org.logicblaze.lingo.jms.JmsServiceExporterSupport
org.logicblaze.lingo.jms.JmsServiceExporterMessageListener
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, MessageListener
- public class JmsServiceExporterMessageListener
- extends JmsServiceExporterSupport
A regular JMS message listener which can be used from inside a message driven object
container.
- Version:
- $Revision: 1.2 $
Fields inherited from class org.springframework.remoting.support.RemoteExporter |
logger |
Methods inherited from class org.logicblaze.lingo.jms.JmsServiceExporterSupport |
createRemoteProxy, createResponseMessage, getInvocationFactory, getMarshaller, getResponseRequestor, introduceRemoteReferences, isIgnoreFailures, onException, onMessage, setIgnoreFailures, setInvocationFactory, setMarshaller, setResponseRequestor |
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, isRegisterTraceInterceptor, setRegisterTraceInterceptor, setService, setServiceInterface |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsServiceExporterMessageListener
public JmsServiceExporterMessageListener()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class JmsServiceExporterSupport
- Throws:
Exception
getProducer
public JmsProducer getProducer()
setProducer
public void setProducer(JmsProducer producer)
getConnectionFactory
public ConnectionFactory getConnectionFactory()
setConnectionFactory
public void setConnectionFactory(ConnectionFactory connectionFactory)
writeRemoteInvocationResult
protected void writeRemoteInvocationResult(Message message,
org.springframework.remoting.support.RemoteInvocationResult result)
throws JMSException
- Description copied from class:
JmsServiceExporterSupport
- Send the given RemoteInvocationResult as a JMS message to the originator
- Specified by:
writeRemoteInvocationResult
in class JmsServiceExporterSupport
- Parameters:
message
- current HTTP messageresult
- the RemoteInvocationResult object
- Throws:
JMSException
- if thrown by trying to send the message
Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.