public class AMQConnectionDelegate_8_0 extends Object implements AMQConnectionDelegate
| Constructor and Description |
|---|
AMQConnectionDelegate_8_0(AMQConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkException(Throwable thrown) |
void |
closeConnection(long timeout) |
Session |
createSession(boolean transacted,
int acknowledgeMode,
int prefetch) |
Session |
createSession(boolean transacted,
int acknowledgeMode,
int prefetchHigh,
int prefetchLow) |
javax.jms.XASession |
createXASession()
Create an XASession with default prefetch values of:
High = MaxPrefetch
Low = MaxPrefetch / 2
|
javax.jms.XASession |
createXASession(int ackMode) |
javax.jms.XASession |
createXASession(int prefetchHigh,
int prefetchLow) |
<T,E extends Exception> |
executeRetrySupport(FailoverProtectedOperation<T,E> operation) |
int |
getMaxChannelID() |
int |
getMinChannelID() |
ProtocolVersion |
getProtocolVersion() |
boolean |
isAddrSyntaxSupported() |
boolean |
isConfirmedPublishNonTransactionalSupported() |
boolean |
isConfirmedPublishSupported() |
boolean |
isMessageCompressionSupported() |
boolean |
isQueueLifetimePolicySupported() |
boolean |
isSupportedServerFeature(String featureName)
Tests whether the server has advertised support for the specified feature
via the qpid.features server connection property.
|
boolean |
isVirtualHostPropertiesSupported() |
ProtocolVersion |
makeBrokerConnection(BrokerDetails brokerDetail) |
void |
resubscribeSessions()
For all sessions, and for all consumers in those sessions, resubscribe.
|
void |
setHeartbeatListener(HeartbeatListener listener) |
boolean |
supportsIsBound() |
boolean |
verifyClientID() |
public AMQConnectionDelegate_8_0(AMQConnection conn)
public void closeConnection(long timeout)
throws javax.jms.JMSException,
QpidException
closeConnection in interface AMQConnectionDelegatejavax.jms.JMSExceptionQpidExceptionprotected boolean checkException(Throwable thrown)
public boolean isConfirmedPublishSupported()
public ProtocolVersion makeBrokerConnection(BrokerDetails brokerDetail) throws QpidException
makeBrokerConnection in interface AMQConnectionDelegateQpidExceptionpublic Session createSession(boolean transacted, int acknowledgeMode, int prefetch) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.XASession createXASession(int prefetchHigh,
int prefetchLow)
throws javax.jms.JMSException
createXASession in interface AMQConnectionDelegatejavax.jms.JMSExceptionpublic javax.jms.XASession createXASession(int ackMode)
throws javax.jms.JMSException
createXASession in interface AMQConnectionDelegatejavax.jms.JMSExceptionpublic Session createSession(boolean transacted, int acknowledgeMode, int prefetchHigh, int prefetchLow) throws javax.jms.JMSException
createSession in interface AMQConnectionDelegatejavax.jms.JMSExceptionpublic javax.jms.XASession createXASession()
throws javax.jms.JMSException
createXASession in interface AMQConnectionDelegatejavax.jms.JMSException - thrown if there is a problem creating the session.public void resubscribeSessions()
throws javax.jms.JMSException,
QpidException,
FailoverException
resubscribeSessions in interface AMQConnectionDelegatejavax.jms.JMSExceptionQpidExceptionFailoverExceptionpublic <T,E extends Exception> T executeRetrySupport(FailoverProtectedOperation<T,E> operation) throws E extends Exception
executeRetrySupport in interface AMQConnectionDelegateE extends Exceptionpublic int getMaxChannelID()
getMaxChannelID in interface AMQConnectionDelegatepublic int getMinChannelID()
getMinChannelID in interface AMQConnectionDelegatepublic ProtocolVersion getProtocolVersion()
getProtocolVersion in interface AMQConnectionDelegatepublic boolean verifyClientID()
throws javax.jms.JMSException
verifyClientID in interface AMQConnectionDelegatejavax.jms.JMSExceptionpublic boolean isSupportedServerFeature(String featureName)
AMQConnectionDelegateqpid. followed by one or more words separated by minus signs
e.g. qpid.jms-selector.isSupportedServerFeature in interface AMQConnectionDelegatefeatureName - name of feature.public void setHeartbeatListener(HeartbeatListener listener)
setHeartbeatListener in interface AMQConnectionDelegatepublic boolean supportsIsBound()
supportsIsBound in interface AMQConnectionDelegatepublic boolean isMessageCompressionSupported()
isMessageCompressionSupported in interface AMQConnectionDelegatepublic boolean isVirtualHostPropertiesSupported()
isVirtualHostPropertiesSupported in interface AMQConnectionDelegatepublic boolean isQueueLifetimePolicySupported()
isQueueLifetimePolicySupported in interface AMQConnectionDelegatepublic boolean isAddrSyntaxSupported()
public boolean isConfirmedPublishNonTransactionalSupported()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.