public class PoolableChannelFactory extends Object implements org.apache.commons.pool.PoolableObjectFactory<com.rabbitmq.client.Channel>
| Constructor and Description |
|---|
PoolableChannelFactory(com.rabbitmq.client.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateObject(com.rabbitmq.client.Channel t) |
void |
destroyObject(com.rabbitmq.client.Channel t) |
com.rabbitmq.client.Channel |
makeObject() |
void |
passivateObject(com.rabbitmq.client.Channel t) |
boolean |
validateObject(com.rabbitmq.client.Channel t) |
public PoolableChannelFactory(com.rabbitmq.client.Connection connection)
public com.rabbitmq.client.Channel makeObject()
throws Exception
makeObject in interface org.apache.commons.pool.PoolableObjectFactory<com.rabbitmq.client.Channel>Exceptionpublic void destroyObject(com.rabbitmq.client.Channel t)
throws Exception
destroyObject in interface org.apache.commons.pool.PoolableObjectFactory<com.rabbitmq.client.Channel>Exceptionpublic boolean validateObject(com.rabbitmq.client.Channel t)
validateObject in interface org.apache.commons.pool.PoolableObjectFactory<com.rabbitmq.client.Channel>public void activateObject(com.rabbitmq.client.Channel t)
throws Exception
activateObject in interface org.apache.commons.pool.PoolableObjectFactory<com.rabbitmq.client.Channel>ExceptionApache Camel