org.apache.camel.component.jms
Class JmsPollingConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.PollingConsumerSupport
org.apache.camel.component.jms.JmsPollingConsumer
- All Implemented Interfaces:
- Consumer, PollingConsumer, Service, ShutdownableService
public class JmsPollingConsumer
- extends PollingConsumerSupport
- Version:
- $Revision: 18227 $
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
JmsPollingConsumer
public JmsPollingConsumer(JmsEndpoint endpoint,
JmsOperations template)
getEndpoint
public JmsEndpoint getEndpoint()
- Specified by:
getEndpoint in interface Consumer- Overrides:
getEndpoint in class PollingConsumerSupport
receiveNoWait
public Exchange receiveNoWait()
receive
public Exchange receive()
receive
public Exchange receive(long timeout)
doStart
protected void doStart()
throws Exception
- Specified by:
doStart in class ServiceSupport
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Specified by:
doStop in class ServiceSupport
- Throws:
Exception
setReceiveTimeout
protected void setReceiveTimeout(long timeout)
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.