org.mule.transport.jms.test
Interface TestReconnectionConnectionFactoryWrapper
- All Superinterfaces:
- ConnectionFactory
- All Known Implementing Classes:
- ActiveMQTestReconnectionConnectionFactoryWrapper
public interface TestReconnectionConnectionFactoryWrapper
- extends ConnectionFactory
Interface for testing JMS reconnections. Implementing classes should extend a
particular JMS providers ConnectionFactory and throw a JMS exception when
isEnabled() == false and the mule server is trying to connect to it.
init
void init()
invoke
Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
getTargetObject
Object getTargetObject()
setEnabled
void setEnabled(boolean enabled)
isEnabled
boolean isEnabled()
getCalledMethods
List getCalledMethods()
closeConnection
void closeConnection()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.