public abstract class ConnectionFactoryWithStartStopWrapper extends ConnectionFactoryWrapper
ConnectionFactoryWrapper
recognized by ScenarioConnectionFactoryProducer
, which has a
start() and stop() method, which can be used if you need to fire up a local MQ Broker: This class is meant to be
extended to provide such functionality.Constructor and Description |
---|
ConnectionFactoryWithStartStopWrapper() |
Modifier and Type | Method and Description |
---|---|
abstract javax.jms.ConnectionFactory |
start(java.lang.String beanName)
Start whatever is needed to support the ConnectionFactory, i.e.
|
abstract void |
stop()
Stop whatever you started in
start(String) . |
createConnection, createConnection, setWrappee, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unwrapFully, unwrapTo
public ConnectionFactoryWithStartStopWrapper()
public abstract javax.jms.ConnectionFactory start(java.lang.String beanName) throws java.lang.Exception
ConnectionFactory
, this will be set on the wrapper using ConnectionFactoryWrapper.setWrappee(ConnectionFactory)
. If you
return null
, nothing will be done - implying that you need to do that setting.java.lang.Exception
public abstract void stop() throws java.lang.Exception
start(String)
.java.lang.Exception