public class JMSBridgeImpl extends Object implements HornetQComponent, JMSBridge
Constructor and Description |
---|
JMSBridgeImpl() |
JMSBridgeImpl(ConnectionFactoryFactory sourceCff,
ConnectionFactoryFactory targetCff,
DestinationFactory sourceDestinationFactory,
DestinationFactory targetDestinationFactory,
String sourceUsername,
String sourcePassword,
String targetUsername,
String targetPassword,
String selector,
long failureRetryInterval,
int maxRetries,
QualityOfServiceMode qosMode,
int maxBatchSize,
long maxBatchTime,
String subName,
String clientID,
boolean addMessageIDInHeader) |
JMSBridgeImpl(ConnectionFactoryFactory sourceCff,
ConnectionFactoryFactory targetCff,
DestinationFactory sourceDestinationFactory,
DestinationFactory targetDestinationFactory,
String sourceUsername,
String sourcePassword,
String targetUsername,
String targetPassword,
String selector,
long failureRetryInterval,
int maxRetries,
QualityOfServiceMode qosMode,
int maxBatchSize,
long maxBatchTime,
String subName,
String clientID,
boolean addMessageIDInHeader,
MBeanServer mbeanServer,
String objectName) |
public JMSBridgeImpl()
public JMSBridgeImpl(ConnectionFactoryFactory sourceCff, ConnectionFactoryFactory targetCff, DestinationFactory sourceDestinationFactory, DestinationFactory targetDestinationFactory, String sourceUsername, String sourcePassword, String targetUsername, String targetPassword, String selector, long failureRetryInterval, int maxRetries, QualityOfServiceMode qosMode, int maxBatchSize, long maxBatchTime, String subName, String clientID, boolean addMessageIDInHeader)
public JMSBridgeImpl(ConnectionFactoryFactory sourceCff, ConnectionFactoryFactory targetCff, DestinationFactory sourceDestinationFactory, DestinationFactory targetDestinationFactory, String sourceUsername, String sourcePassword, String targetUsername, String targetPassword, String selector, long failureRetryInterval, int maxRetries, QualityOfServiceMode qosMode, int maxBatchSize, long maxBatchTime, String subName, String clientID, boolean addMessageIDInHeader, MBeanServer mbeanServer, String objectName)
public void start() throws Exception
start
in interface HornetQComponent
Exception
public void stop() throws Exception
stop
in interface HornetQComponent
Exception
public boolean isStarted()
isStarted
in interface HornetQComponent
public void destroy()
public void pause() throws Exception
public void resume() throws Exception
public DestinationFactory getSourceDestinationFactory()
getSourceDestinationFactory
in interface JMSBridge
public void setSourceDestinationFactory(DestinationFactory dest)
setSourceDestinationFactory
in interface JMSBridge
public DestinationFactory getTargetDestinationFactory()
getTargetDestinationFactory
in interface JMSBridge
public void setTargetDestinationFactory(DestinationFactory dest)
setTargetDestinationFactory
in interface JMSBridge
public String getSourceUsername()
getSourceUsername
in interface JMSBridge
public void setSourceUsername(String name)
setSourceUsername
in interface JMSBridge
public String getSourcePassword()
getSourcePassword
in interface JMSBridge
public void setSourcePassword(String pwd)
setSourcePassword
in interface JMSBridge
public String getTargetUsername()
getTargetUsername
in interface JMSBridge
public void setTargetUsername(String name)
setTargetUsername
in interface JMSBridge
public String getTargetPassword()
getTargetPassword
in interface JMSBridge
public void setTargetPassword(String pwd)
setTargetPassword
in interface JMSBridge
public String getSelector()
getSelector
in interface JMSBridge
public void setSelector(String selector)
setSelector
in interface JMSBridge
public long getFailureRetryInterval()
getFailureRetryInterval
in interface JMSBridge
public void setFailureRetryInterval(long interval)
setFailureRetryInterval
in interface JMSBridge
public int getMaxRetries()
getMaxRetries
in interface JMSBridge
public void setMaxRetries(int retries)
setMaxRetries
in interface JMSBridge
public QualityOfServiceMode getQualityOfServiceMode()
getQualityOfServiceMode
in interface JMSBridge
public void setQualityOfServiceMode(QualityOfServiceMode mode)
setQualityOfServiceMode
in interface JMSBridge
public int getMaxBatchSize()
getMaxBatchSize
in interface JMSBridge
public void setMaxBatchSize(int size)
setMaxBatchSize
in interface JMSBridge
public long getMaxBatchTime()
getMaxBatchTime
in interface JMSBridge
public void setMaxBatchTime(long time)
setMaxBatchTime
in interface JMSBridge
public String getSubscriptionName()
getSubscriptionName
in interface JMSBridge
public void setSubscriptionName(String subname)
setSubscriptionName
in interface JMSBridge
public String getClientID()
getClientID
in interface JMSBridge
public void setClientID(String clientID)
setClientID
in interface JMSBridge
public String getTransactionManagerLocatorClass()
getTransactionManagerLocatorClass
in interface JMSBridge
public void setTransactionManagerLocatorClass(String transactionManagerLocatorClass)
setTransactionManagerLocatorClass
in interface JMSBridge
public String getTransactionManagerLocatorMethod()
getTransactionManagerLocatorMethod
in interface JMSBridge
public void setTransactionManagerLocatorMethod(String transactionManagerLocatorMethod)
setTransactionManagerLocatorMethod
in interface JMSBridge
public boolean isAddMessageIDInHeader()
isAddMessageIDInHeader
in interface JMSBridge
public void setAddMessageIDInHeader(boolean value)
setAddMessageIDInHeader
in interface JMSBridge
public void setSourceConnectionFactoryFactory(ConnectionFactoryFactory cff)
setSourceConnectionFactoryFactory
in interface JMSBridge
public void setTargetConnectionFactoryFactory(ConnectionFactoryFactory cff)
setTargetConnectionFactoryFactory
in interface JMSBridge
public void setTransactionManager(TransactionManager tm)
setTransactionManager
in interface JMSBridge
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.