org.mule.transport.jms.test
Interface TestReconnectionConnectionFactoryWrapper

All Superinterfaces:
javax.jms.ConnectionFactory
All Known Implementing Classes:
ActiveMQTestReconnectionConnectionFactoryWrapper

public interface TestReconnectionConnectionFactoryWrapper
extends javax.jms.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.


Method Summary
 void closeConnection()
           
 java.util.List getCalledMethods()
           
 java.lang.Object getTargetObject()
           
 void init()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Method Detail

init

void init()

invoke

java.lang.Object invoke(java.lang.Object proxy,
                        java.lang.reflect.Method method,
                        java.lang.Object[] args)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

getTargetObject

java.lang.Object getTargetObject()

setEnabled

void setEnabled(boolean enabled)

isEnabled

boolean isEnabled()

getCalledMethods

java.util.List getCalledMethods()

closeConnection

void closeConnection()


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.