org.apache.camel.component.jms
Class JmsPollingConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.PollingConsumerSupport<JmsExchange>
org.apache.camel.component.jms.JmsPollingConsumer
- All Implemented Interfaces:
- org.apache.camel.Consumer<JmsExchange>, org.apache.camel.PollingConsumer<JmsExchange>, org.apache.camel.Service
public class JmsPollingConsumer
- extends org.apache.camel.impl.PollingConsumerSupport<JmsExchange>
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.camel.impl.PollingConsumerSupport |
getExceptionHandler, handleException, setExceptionHandler, toString |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
isStarted, isStopped, isStopping, start, stop |
Methods inherited from interface org.apache.camel.Service |
start, stop |
JmsPollingConsumer
public JmsPollingConsumer(JmsEndpoint endpoint,
org.springframework.jms.core.JmsOperations template)
getEndpoint
public JmsEndpoint getEndpoint()
- Overrides:
getEndpoint
in class org.apache.camel.impl.PollingConsumerSupport<JmsExchange>
receiveNoWait
public JmsExchange receiveNoWait()
receive
public JmsExchange receive()
receive
public JmsExchange receive(long timeout)
doStart
protected void doStart()
throws Exception
- Specified by:
doStart
in class org.apache.camel.impl.ServiceSupport
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Specified by:
doStop
in class org.apache.camel.impl.ServiceSupport
- Throws:
Exception
setReceiveTimeout
protected void setReceiveTimeout(long timeout)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.