Class BackwardsCompatibilityUtils
- java.lang.Object
-
- org.apache.activemq.artemis.core.protocol.core.impl.BackwardsCompatibilityUtils
-
public class BackwardsCompatibilityUtils extends Object
There are a few properties that were changed between HornetQ and Artemis. When sending topology updates to clients, if these properties are used we need to convert them properly
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BackwardsCompatibilityUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pair<TransportConfiguration,TransportConfiguration>checkTCPPairConversion(int clientIncrementingVersion, TopologyMember member)static StringconvertParameter(String name)Translates V3 strings to V2 strings.
-
-
-
Field Detail
-
SSL_ENABLED_PROP_NAME
public static final String SSL_ENABLED_PROP_NAME
- See Also:
- Constant Field Values
-
HTTP_ENABLED_PROP_NAME
public static final String HTTP_ENABLED_PROP_NAME
- See Also:
- Constant Field Values
-
HTTP_CLIENT_IDLE_PROP_NAME
public static final String HTTP_CLIENT_IDLE_PROP_NAME
- See Also:
- Constant Field Values
-
HTTP_CLIENT_IDLE_SCAN_PERIOD
public static final String HTTP_CLIENT_IDLE_SCAN_PERIOD
- See Also:
- Constant Field Values
-
HTTP_RESPONSE_TIME_PROP_NAME
public static final String HTTP_RESPONSE_TIME_PROP_NAME
- See Also:
- Constant Field Values
-
HTTP_SERVER_SCAN_PERIOD_PROP_NAME
public static final String HTTP_SERVER_SCAN_PERIOD_PROP_NAME
- See Also:
- Constant Field Values
-
HTTP_REQUIRES_SESSION_ID
public static final String HTTP_REQUIRES_SESSION_ID
- See Also:
- Constant Field Values
-
USE_SERVLET_PROP_NAME
public static final String USE_SERVLET_PROP_NAME
- See Also:
- Constant Field Values
-
SERVLET_PATH
public static final String SERVLET_PATH
- See Also:
- Constant Field Values
-
USE_NIO_PROP_NAME
public static final String USE_NIO_PROP_NAME
- See Also:
- Constant Field Values
-
USE_NIO_GLOBAL_WORKER_POOL_PROP_NAME
public static final String USE_NIO_GLOBAL_WORKER_POOL_PROP_NAME
- See Also:
- Constant Field Values
-
USE_INVM_PROP_NAME
public static final String USE_INVM_PROP_NAME
- See Also:
- Constant Field Values
-
PROTOCOL_PROP_NAME
public static final String PROTOCOL_PROP_NAME
- See Also:
- Constant Field Values
-
HOST_PROP_NAME
public static final String HOST_PROP_NAME
- See Also:
- Constant Field Values
-
PORT_PROP_NAME
public static final String PORT_PROP_NAME
- See Also:
- Constant Field Values
-
LOCAL_ADDRESS_PROP_NAME
public static final String LOCAL_ADDRESS_PROP_NAME
- See Also:
- Constant Field Values
-
LOCAL_PORT_PROP_NAME
public static final String LOCAL_PORT_PROP_NAME
- See Also:
- Constant Field Values
-
KEYSTORE_PROVIDER_PROP_NAME
public static final String KEYSTORE_PROVIDER_PROP_NAME
- See Also:
- Constant Field Values
-
KEYSTORE_TYPE_PROP_NAME
public static final String KEYSTORE_TYPE_PROP_NAME
- See Also:
- Constant Field Values
-
KEYSTORE_PATH_PROP_NAME
public static final String KEYSTORE_PATH_PROP_NAME
- See Also:
- Constant Field Values
-
KEYSTORE_PASSWORD_PROP_NAME
public static final String KEYSTORE_PASSWORD_PROP_NAME
- See Also:
- Constant Field Values
-
TRUSTSTORE_PROVIDER_PROP_NAME
public static final String TRUSTSTORE_PROVIDER_PROP_NAME
- See Also:
- Constant Field Values
-
TRUSTSTORE_TYPE_PROP_NAME
public static final String TRUSTSTORE_TYPE_PROP_NAME
- See Also:
- Constant Field Values
-
TRUSTSTORE_PATH_PROP_NAME
public static final String TRUSTSTORE_PATH_PROP_NAME
- See Also:
- Constant Field Values
-
TRUSTSTORE_PASSWORD_PROP_NAME
public static final String TRUSTSTORE_PASSWORD_PROP_NAME
- See Also:
- Constant Field Values
-
NEED_CLIENT_AUTH_PROP_NAME
public static final String NEED_CLIENT_AUTH_PROP_NAME
- See Also:
- Constant Field Values
-
BACKLOG_PROP_NAME
public static final String BACKLOG_PROP_NAME
- See Also:
- Constant Field Values
-
TCP_NODELAY_PROPNAME
public static final String TCP_NODELAY_PROPNAME
- See Also:
- Constant Field Values
-
TCP_SENDBUFFER_SIZE_PROPNAME
public static final String TCP_SENDBUFFER_SIZE_PROPNAME
- See Also:
- Constant Field Values
-
TCP_RECEIVEBUFFER_SIZE_PROPNAME
public static final String TCP_RECEIVEBUFFER_SIZE_PROPNAME
- See Also:
- Constant Field Values
-
NIO_REMOTING_THREADS_PROPNAME
public static final String NIO_REMOTING_THREADS_PROPNAME
- See Also:
- Constant Field Values
-
BATCH_DELAY
public static final String BATCH_DELAY
- See Also:
- Constant Field Values
-
DIRECT_DELIVER
public static final String DIRECT_DELIVER
- See Also:
- Constant Field Values
-
CLUSTER_CONNECTION
public static final String CLUSTER_CONNECTION
- See Also:
- Constant Field Values
-
STOMP_CONSUMERS_CREDIT
public static final String STOMP_CONSUMERS_CREDIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertParameter
public static String convertParameter(String name)
Translates V3 strings to V2 strings.Returns the string as if it's not found in the conversion map.
-
checkTCPPairConversion
public static Pair<TransportConfiguration,TransportConfiguration> checkTCPPairConversion(int clientIncrementingVersion, TopologyMember member)
-
-