org.apache.camel.component.sjms.producer
Class InOutProducer.MessageConsumerPool

java.lang.Object
  extended by org.apache.camel.component.sjms.jms.ObjectPool<InOutProducer.MessageConsumerResource>
      extended by 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


Field Summary
 
Fields inherited from class org.apache.camel.component.sjms.jms.ObjectPool
logger
 
Constructor Summary
InOutProducer.MessageConsumerPool(int poolSize)
          TODO Add Constructor Javadoc
 
Method Summary
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
 
Methods inherited from class org.apache.camel.component.sjms.jms.ObjectPool
borrowObject, borrowObject, drainPool, fillPool, getLock, getMaxSize, returnObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOutProducer.MessageConsumerPool

public InOutProducer.MessageConsumerPool(int poolSize)
TODO Add Constructor Javadoc

Parameters:
poolSize -
Method Detail

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