|
||||||||||
| 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 MessageConsumer |
createConsumer()
Factory method to create the consumer |
void |
destroy()
|
Destination |
getDestination()
|
String |
getMessageSelector()
|
String |
getSubscriberName()
|
boolean |
isNoLocal()
|
void |
setDestination(Destination destination)
If specified then the service will be auto-subscribed to this destination |
void |
setMessageSelector(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(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 Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class JmsServiceExporterMessageListenerException
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeandestroy in class JmsServiceExporterMessageListenerExceptionpublic Destination getDestination()
public void setDestination(Destination destination)
public String getMessageSelector()
public void setMessageSelector(String messageSelector)
public boolean isNoLocal()
public void setNoLocal(boolean noLocal)
public String getSubscriberName()
public void setSubscriberName(String subscriberName)
protected MessageConsumer createConsumer()
throws JMSException
JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||