Class DestinationPathSeparatorBroker

    • Constructor Detail

      • DestinationPathSeparatorBroker

        public DestinationPathSeparatorBroker()
    • Method Detail

      • convertDestination

        protected org.apache.activemq.command.ActiveMQDestination convertDestination​(org.apache.activemq.command.ActiveMQDestination destination)
      • acknowledge

        public void acknowledge​(ConsumerBrokerExchange consumerExchange,
                                org.apache.activemq.command.MessageAck ack)
                         throws Exception
        Description copied from interface: Region
        Used to acknowledge the receipt of a message by a client.
        Specified by:
        acknowledge in interface Region
        Overrides:
        acknowledge in class BrokerFilter
        Parameters:
        consumerExchange - the environment the operation is being executed under.
        Throws:
        Exception - TODO
      • send

        public void send​(ProducerBrokerExchange producerExchange,
                         org.apache.activemq.command.Message messageSend)
                  throws Exception
        Description copied from interface: Region
        Send a message to the broker to using the specified destination. The destination specified in the message does not need to match the destination the message is sent to. This is handy in case the message is being sent to a dead letter destination.
        Specified by:
        send in interface Region
        Overrides:
        send in class BrokerFilter
        Parameters:
        producerExchange - the environment the operation is being executed under.
        Throws:
        Exception - TODO
      • addDestination

        public Destination addDestination​(ConnectionContext context,
                                          org.apache.activemq.command.ActiveMQDestination destination,
                                          boolean createIfTemporary)
                                   throws Exception
        Description copied from interface: Region
        Used to create a destination. Usually, this method is invoked as a side-effect of sending a message to a destination that does not exist yet.
        Specified by:
        addDestination in interface Region
        Overrides:
        addDestination in class BrokerFilter
        destination - the destination to create.
        Returns:
        TODO
        Throws:
        Exception - TODO
      • removeDestination

        public void removeDestination​(ConnectionContext context,
                                      org.apache.activemq.command.ActiveMQDestination destination,
                                      long timeout)
                               throws Exception
        Description copied from interface: Region
        Used to destroy a destination. This should try to quiesce use of the destination up to the timeout allotted time before removing the destination. This will remove all persistent messages associated with the destination.
        Specified by:
        removeDestination in interface Region
        Overrides:
        removeDestination in class BrokerFilter
        Parameters:
        context - the environment the operation is being executed under.
        destination - what is being removed from the broker.
        timeout - the max amount of time to wait for the destination to quiesce
        Throws:
        Exception - TODO
      • setPathSeparator

        public void setPathSeparator​(String pathSeparator)