org.apache.activemq.filter
Class DestinationPath

java.lang.Object
  extended by org.apache.activemq.filter.DestinationPath

public class DestinationPath
extends java.lang.Object

Helper class for decomposing a Destination into a number of paths

Version:
$Revision: 1.3 $

Field Summary
protected static char SEPARATOR
           
 
Constructor Summary
DestinationPath()
           
 
Method Summary
static java.lang.String[] getDestinationPaths(ActiveMQDestination destination)
           
static java.lang.String[] getDestinationPaths(Message message)
           
static java.lang.String[] getDestinationPaths(java.lang.String subject)
           
static java.lang.String toString(java.lang.String[] paths)
          Converts the paths to a single String seperated by dots.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

protected static final char SEPARATOR
See Also:
Constant Field Values
Constructor Detail

DestinationPath

public DestinationPath()
Method Detail

getDestinationPaths

public static java.lang.String[] getDestinationPaths(java.lang.String subject)

getDestinationPaths

public static java.lang.String[] getDestinationPaths(Message message)
                                              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getDestinationPaths

public static java.lang.String[] getDestinationPaths(ActiveMQDestination destination)

toString

public static java.lang.String toString(java.lang.String[] paths)
Converts the paths to a single String seperated by dots.

Parameters:
paths -
Returns:


Copyright © 2010 Apache Software Foundation. All Rights Reserved.