|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.remoting.support.RemoteExporter
org.springframework.remoting.support.RemoteInvocationBasedExporter
org.logicblaze.lingo.jms.JmsServiceExporterMessageListener
org.logicblaze.lingo.jms.JmsServiceExporter
public class JmsServiceExporter
A JMS MessageListener that exports the specified service bean as a JMS service endpoint, accessible via a JMS proxy.
Note: JMS services exported with this class can be accessed by any JMS client, as there isn't any special handling involved.
JmsProxyFactoryBean
Field Summary |
---|
Fields inherited from class org.springframework.remoting.support.RemoteExporter |
---|
logger |
Constructor Summary | |
---|---|
JmsServiceExporter()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected javax.jms.MessageConsumer |
createConsumer()
Factory method to create the consumer |
void |
destroy()
|
javax.jms.Destination |
getDestination()
|
java.lang.String |
getMessageSelector()
|
java.lang.String |
getSubscriberName()
|
boolean |
isNoLocal()
|
void |
setDestination(javax.jms.Destination destination)
If specified then the service will be auto-subscribed to this destination |
void |
setMessageSelector(java.lang.String messageSelector)
Sets the message selector applied to the subscription |
void |
setNoLocal(boolean noLocal)
Sets whether or not topic subscriptions should receive locally produced messages |
void |
setSubscriberName(java.lang.String subscriberName)
Sets the durable subscriber name and enables a durable subscription. |
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 |
Constructor Detail |
---|
public JmsServiceExporter()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class JmsServiceExporterMessageListener
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class JmsServiceExporterMessageListener
java.lang.Exception
public javax.jms.Destination getDestination()
public void setDestination(javax.jms.Destination destination)
public java.lang.String getMessageSelector()
public void setMessageSelector(java.lang.String messageSelector)
public boolean isNoLocal()
public void setNoLocal(boolean noLocal)
public java.lang.String getSubscriberName()
public void setSubscriberName(java.lang.String subscriberName)
protected javax.jms.MessageConsumer createConsumer() throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |