Class AbstractPollableSource<H>
public abstract class AbstractPollableSource<H> : IPollableSource<H>, IPollableSourceType Parameters
- H
- Inheritance
- 
      
      AbstractPollableSource<H>
- Implements
- Derived
- Inherited Members
Methods
Poll(object)
Poll the consumer
public bool Poll(object handler)Parameters
- handlerobject
- the handler to process message 
Returns
- bool
- true if a message was handled 
Poll(object, Type)
Poll the consumer and convert the payload to the specified type. Throw a RequeueCurrentMessageException to force the current message to be requeued in the broker(after retries are exhausted, if configured).
public bool Poll(object handler, Type type)Parameters
Returns
- bool
- true if a message was handled 
Poll(H)
Poll the consumer
public abstract bool Poll(H handler)Parameters
- handlerH
- the handler to process message 
Returns
- bool
- true if a message was handled 
Poll(H, Type)
Poll the consumer and convert the payload to the specified type. Throw a RequeueCurrentMessageException to force the current message to be requeued in the broker(after retries are exhausted, if configured).
public virtual bool Poll(H handler, Type type)Parameters
- handlerH
- the handler 
- typeType
- the type of the payload 
Returns
- bool
- true if a message was handled