org.apache.activemq.command
Class NetworkBridgeFilter
java.lang.Object
org.apache.activemq.command.NetworkBridgeFilter
- All Implemented Interfaces:
- DataStructure, BooleanExpression, Expression
public class NetworkBridgeFilter
- extends java.lang.Object
- implements DataStructure, BooleanExpression
- Version:
- $Revision: 1.12 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
NetworkBridgeFilter
public NetworkBridgeFilter()
NetworkBridgeFilter
public NetworkBridgeFilter(BrokerId remoteBrokerPath,
int networkTTL)
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interface DataStructure
- Returns:
- The type of the data structure
isMarshallAware
public boolean isMarshallAware()
- Specified by:
isMarshallAware
in interface DataStructure
matches
public boolean matches(MessageEvaluationContext mec)
throws javax.jms.JMSException
- Specified by:
matches
in interface BooleanExpression
- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
javax.jms.JMSException
evaluate
public java.lang.Object evaluate(MessageEvaluationContext message)
throws javax.jms.JMSException
- Specified by:
evaluate
in interface Expression
- Returns:
- the value of this expression
- Throws:
javax.jms.JMSException
matchesForwardingFilter
protected boolean matchesForwardingFilter(Message message)
contains
public static boolean contains(BrokerId[] brokerPath,
BrokerId brokerId)
getNetworkTTL
public int getNetworkTTL()
setNetworkTTL
public void setNetworkTTL(int networkTTL)
getNetworkBrokerId
public BrokerId getNetworkBrokerId()
setNetworkBrokerId
public void setNetworkBrokerId(BrokerId remoteBrokerPath)
Copyright © 2009 Apache Software Foundation. All Rights Reserved.