Class DestinationDotFileInterceptor

    • Constructor Detail

      • DestinationDotFileInterceptor

        public DestinationDotFileInterceptor​(Broker next,
                                             String file)
    • Method Detail

      • addDestination

        public Destination addDestination​(ConnectionContext context,
                                          org.apache.activemq.command.ActiveMQDestination destination,
                                          boolean create)
                                   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
      • printNodes

        protected void printNodes​(PrintWriter writer,
                                  org.apache.activemq.filter.DestinationMapNode node,
                                  String prefix)
      • printNodeLinks

        protected void printNodeLinks​(PrintWriter writer,
                                      org.apache.activemq.filter.DestinationMapNode node,
                                      String prefix)
      • getPath

        protected String getPath​(org.apache.activemq.filter.DestinationMapNode node)