org.apache.camel.component.sjms.producer
Class InOutProducer.MessageConsumerPool
java.lang.Object
org.apache.camel.component.sjms.jms.ObjectPool<InOutProducer.MessageConsumerResource>
org.apache.camel.component.sjms.producer.InOutProducer.MessageConsumerPool
- Enclosing class:
- InOutProducer
protected class InOutProducer.MessageConsumerPool
- extends ObjectPool<InOutProducer.MessageConsumerResource>
A pool of InOutProducer.MessageConsumerResource
objects that are the reply
consumers.
TODO Add Class documentation for MessageProducerPool
TODO Externalize
Fields inherited from class org.apache.camel.component.sjms.jms.ObjectPool |
logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InOutProducer.MessageConsumerPool
public InOutProducer.MessageConsumerPool(int poolSize)
- TODO Add Constructor Javadoc
- Parameters:
poolSize
-
createObject
protected InOutProducer.MessageConsumerResource createObject()
throws Exception
- Description copied from class:
ObjectPool
- Implement to create new objects of type T when the pool is initialized
empty.
- Specified by:
createObject
in class ObjectPool<InOutProducer.MessageConsumerResource>
- Returns:
-
- Throws:
Exception
destroyObject
protected void destroyObject(InOutProducer.MessageConsumerResource model)
throws Exception
- Description copied from class:
ObjectPool
- Clean up pool objects
- Specified by:
destroyObject
in class ObjectPool<InOutProducer.MessageConsumerResource>
- Throws:
Exception
Apache Camel