org.apache.camel.component.sjms
Class SjmsProducer.MessageProducerPool

java.lang.Object
  extended by org.apache.camel.component.sjms.jms.ObjectPool<SjmsProducer.MessageProducerResources>
      extended by org.apache.camel.component.sjms.SjmsProducer.MessageProducerPool
Enclosing class:
SjmsProducer

protected class SjmsProducer.MessageProducerPool
extends ObjectPool<SjmsProducer.MessageProducerResources>

The SjmsProducer.MessageProducerResources pool for all SjmsProducer classes.


Field Summary
 
Fields inherited from class org.apache.camel.component.sjms.jms.ObjectPool
logger
 
Constructor Summary
SjmsProducer.MessageProducerPool()
           
 
Method Summary
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
 
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

SjmsProducer.MessageProducerPool

public SjmsProducer.MessageProducerPool()
Method Detail

createObject

protected SjmsProducer.MessageProducerResources 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<SjmsProducer.MessageProducerResources>
Returns:
Throws:
Exception

destroyObject

protected void destroyObject(SjmsProducer.MessageProducerResources model)
                      throws Exception
Description copied from class: ObjectPool
Clean up pool objects

Specified by:
destroyObject in class ObjectPool<SjmsProducer.MessageProducerResources>
Throws:
Exception


Apache Camel