Class PrefixUtil
java.lang.Object
org.apache.activemq.artemis.utils.PrefixUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleStringgetAddress(SimpleString address, Map<SimpleString, RoutingType> prefixes) static Pair<SimpleString,EnumSet<RoutingType>> getAddressAndRoutingTypes(SimpleString address, EnumSet<RoutingType> defaultRoutingTypes, Map<SimpleString, RoutingType> prefixes) static SimpleStringgetPrefix(SimpleString address, Map<SimpleString, RoutingType> prefixes) static StringgetURIPrefix(String address) This will treat a prefix on the uri-type of queue://, topic://, temporaryTopic://, temporaryQueue.static StringremoveAddress(String string, String prefix) static SimpleStringremoveAddress(SimpleString string, SimpleString prefix) static StringremovePrefix(String string, String prefix) static SimpleStringremovePrefix(SimpleString string, SimpleString prefix)
-
Constructor Details
-
PrefixUtil
public PrefixUtil()
-
-
Method Details
-
getAddressAndRoutingTypes
public static Pair<SimpleString,EnumSet<RoutingType>> getAddressAndRoutingTypes(SimpleString address, EnumSet<RoutingType> defaultRoutingTypes, Map<SimpleString, RoutingType> prefixes) -
getAddress
-
getPrefix
-
removePrefix
-
removeAddress
-
removeAddress
-
removePrefix
-
getURIPrefix
This will treat a prefix on the uri-type of queue://, topic://, temporaryTopic://, temporaryQueue. This is mostly used on conversions to treat JMSReplyTo or similar usages on core protocol
-