org.apache.camel.component.sjms
Class SjmsConsumer.MessageConsumerPool
java.lang.Object
org.apache.camel.component.sjms.jms.ObjectPool<SjmsConsumer.MessageConsumerResources>
org.apache.camel.component.sjms.SjmsConsumer.MessageConsumerPool
- Enclosing class:
- SjmsConsumer
protected class SjmsConsumer.MessageConsumerPool
- extends ObjectPool<SjmsConsumer.MessageConsumerResources>
A pool of MessageConsumerResources created at the initialization of the associated consumer.
| 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 |
SjmsConsumer.MessageConsumerPool
public SjmsConsumer.MessageConsumerPool()
createObject
protected SjmsConsumer.MessageConsumerResources createObject()
throws Exception
- Creates a new MessageConsumerResources instance.
- Specified by:
createObject in class ObjectPool<SjmsConsumer.MessageConsumerResources>
- Returns:
-
- Throws:
Exception- See Also:
ObjectPool.createObject()
destroyObject
protected void destroyObject(SjmsConsumer.MessageConsumerResources model)
throws Exception
- Cleans up the MessageConsumerResources.
- Specified by:
destroyObject in class ObjectPool<SjmsConsumer.MessageConsumerResources>
- Throws:
Exception- See Also:
ObjectPool.destroyObject(java.lang.Object)
Apache Camel