Class OpenWireUtil
- java.lang.Object
-
- org.apache.activemq.artemis.core.protocol.openwire.util.OpenWireUtil
-
public class OpenWireUtil extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenWireUtil.OpenWireWildcardConfiguration
-
Field Summary
Fields Modifier and Type Field Description static org.apache.activemq.artemis.core.config.WildcardConfigurationOPENWIRE_WILDCARDstatic java.lang.StringSELECTOR_AWARE_OPTION
-
Constructor Summary
Constructors Constructor Description OpenWireUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringextractFilterStringOrNull(org.apache.activemq.command.ConsumerInfo info, org.apache.activemq.command.ActiveMQDestination openWireDest)static org.apache.activemq.command.ActiveMQDestinationtoAMQAddress(org.apache.activemq.artemis.api.core.Message message, org.apache.activemq.command.ActiveMQDestination actualDestination)We convert the core address to an ActiveMQ Destination.static org.apache.activemq.artemis.core.transaction.impl.XidImpltoXID(org.apache.activemq.command.TransactionId xaXid)static org.apache.activemq.artemis.core.transaction.impl.XidImpltoXID(org.apache.activemq.command.XATransactionId xaXid)
-
-
-
Field Detail
-
OPENWIRE_WILDCARD
public static final org.apache.activemq.artemis.core.config.WildcardConfiguration OPENWIRE_WILDCARD
-
SELECTOR_AWARE_OPTION
public static final java.lang.String SELECTOR_AWARE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
extractFilterStringOrNull
public static java.lang.String extractFilterStringOrNull(org.apache.activemq.command.ConsumerInfo info, org.apache.activemq.command.ActiveMQDestination openWireDest)
-
toAMQAddress
public static org.apache.activemq.command.ActiveMQDestination toAMQAddress(org.apache.activemq.artemis.api.core.Message message, org.apache.activemq.command.ActiveMQDestination actualDestination)We convert the core address to an ActiveMQ Destination. We use the actual address on the message rather than the destination set on the consumer because it maybe different and the JMS spec says that it should be what ever was set on publish/send so a divert or wildcard may mean thats its different to the destination subscribed to by the consumer
-
toXID
public static org.apache.activemq.artemis.core.transaction.impl.XidImpl toXID(org.apache.activemq.command.TransactionId xaXid)
-
toXID
public static org.apache.activemq.artemis.core.transaction.impl.XidImpl toXID(org.apache.activemq.command.XATransactionId xaXid)
-
-