org.apache.camel.component.sjms
Class SjmsProducer.MessageProducerPool
java.lang.Object
org.apache.camel.component.sjms.jms.ObjectPool<SjmsProducer.MessageProducerResources>
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.
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 |
SjmsProducer.MessageProducerPool
public SjmsProducer.MessageProducerPool()
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