org.springframework.integration.jms
Class JmsMessageDrivenEndpoint
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.jms.JmsMessageDrivenEndpoint
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.context.NamedComponent, org.springframework.integration.context.OrderlyShutdownCapable
public class JmsMessageDrivenEndpoint
- extends org.springframework.integration.endpoint.AbstractEndpoint
- implements org.springframework.beans.factory.DisposableBean, org.springframework.integration.context.OrderlyShutdownCapable
A message-driven endpoint that receive JMS messages, converts them into
Spring Integration Messages, and then sends the result to a channel.
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
logger |
| Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JmsMessageDrivenEndpoint
public JmsMessageDrivenEndpoint(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer,
ChannelPublishingJmsMessageListener listener)
getComponentType
public java.lang.String getComponentType()
- Specified by:
getComponentType in interface org.springframework.integration.context.NamedComponent- Overrides:
getComponentType in class org.springframework.integration.context.IntegrationObjectSupport
onInit
protected void onInit()
throws java.lang.Exception
- Overrides:
onInit in class org.springframework.integration.context.IntegrationObjectSupport
- Throws:
java.lang.Exception
doStart
protected void doStart()
- Specified by:
doStart in class org.springframework.integration.endpoint.AbstractEndpoint
doStop
protected void doStop()
- Specified by:
doStop in class org.springframework.integration.endpoint.AbstractEndpoint
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
beforeShutdown
public int beforeShutdown()
- Specified by:
beforeShutdown in interface org.springframework.integration.context.OrderlyShutdownCapable
afterShutdown
public int afterShutdown()
- Specified by:
afterShutdown in interface org.springframework.integration.context.OrderlyShutdownCapable