Class OpenWireUtil


  • public class OpenWireUtil
    extends Object
    • Constructor Detail

      • OpenWireUtil

        public OpenWireUtil()
    • Method Detail

      • extractFilterStringOrNull

        public static String extractFilterStringOrNull​(org.apache.activemq.command.ConsumerInfo info,
                                                       org.apache.activemq.command.ActiveMQDestination openWireDest)
      • toAMQAddress

        public static org.apache.activemq.command.ActiveMQDestination toAMQAddress​(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 XidImpl toXID​(org.apache.activemq.command.TransactionId xaXid)
      • toXID

        public static XidImpl toXID​(org.apache.activemq.command.XATransactionId xaXid)