protected class InOutProducer.MessageConsumerPool extends ObjectPool<InOutProducer.MessageConsumerResource>
InOutProducer.MessageConsumerResource objects that are the reply
consumers.
TODO Add Class documentation for MessageProducerPool
TODO Externalizelogger| Constructor and Description |
|---|
InOutProducer.MessageConsumerPool(int poolSize)
TODO Add Constructor Javadoc
|
| Modifier and Type | Method and Description |
|---|---|
protected InOutProducer.MessageConsumerResource |
createObject()
Implement to create new objects of type T when the pool is initialized
empty.
|
protected void |
destroyObject(InOutProducer.MessageConsumerResource model)
Clean up pool objects
|
borrowObject, borrowObject, drainPool, fillPool, getLock, getMaxSize, returnObjectpublic InOutProducer.MessageConsumerPool(int poolSize)
poolSize - protected InOutProducer.MessageConsumerResource createObject() throws Exception
ObjectPoolcreateObject in class ObjectPool<InOutProducer.MessageConsumerResource>Exceptionprotected void destroyObject(InOutProducer.MessageConsumerResource model) throws Exception
ObjectPooldestroyObject in class ObjectPool<InOutProducer.MessageConsumerResource>ExceptionApache Camel