org.apache.activemq.filter
Class DestinationPath

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

public final class DestinationPath
extends java.lang.Object

Helper class for decomposing a Destination into a number of paths


Field Summary
protected static char SEPARATOR
           
 
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
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 © 2005-2011 FuseSource, Corp.. All Rights Reserved.