protected class SjmsProducer.MessageProducerPool extends ObjectPool<SjmsProducer.MessageProducerResources>
SjmsProducer.MessageProducerResources pool for all SjmsProducer
classes.logger| Constructor and Description |
|---|
SjmsProducer.MessageProducerPool() |
| Modifier and Type | Method and Description |
|---|---|
protected SjmsProducer.MessageProducerResources |
createObject()
Implement to create new objects of type T when the pool is initialized
empty.
|
protected void |
destroyObject(SjmsProducer.MessageProducerResources model)
Clean up pool objects
|
borrowObject, borrowObject, drainPool, fillPool, getLock, getMaxSize, returnObjectprotected SjmsProducer.MessageProducerResources createObject() throws Exception
ObjectPoolcreateObject in class ObjectPool<SjmsProducer.MessageProducerResources>Exceptionprotected void destroyObject(SjmsProducer.MessageProducerResources model) throws Exception
ObjectPooldestroyObject in class ObjectPool<SjmsProducer.MessageProducerResources>ExceptionApache Camel