org.jboss.messaging.core.server.impl
Class DivertImpl
java.lang.Object
org.jboss.messaging.core.server.impl.DivertImpl
- All Implemented Interfaces:
- Bindable, Divert
public class DivertImpl
- extends java.lang.Object
- implements Divert
A DivertImpl simply diverts a message to a different forwardAddress
- Author:
- Tim Fox
Created 19 Dec 2008 10:57:49
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DivertImpl
public DivertImpl(SimpleString forwardAddress,
SimpleString uniqueName,
SimpleString routingName,
boolean exclusive,
Filter filter,
Transformer transformer,
PostOffice postOffice,
PagingManager pagingManager,
StorageManager storageManager)
preroute
public void preroute(ServerMessage message,
Transaction tx)
throws java.lang.Exception
- Specified by:
preroute
in interface Bindable
- Throws:
java.lang.Exception
route
public void route(ServerMessage message,
Transaction tx)
throws java.lang.Exception
- Specified by:
route
in interface Bindable
- Throws:
java.lang.Exception
getRoutingName
public SimpleString getRoutingName()
- Specified by:
getRoutingName
in interface Divert
getUniqueName
public SimpleString getUniqueName()
- Specified by:
getUniqueName
in interface Divert
isExclusive
public boolean isExclusive()
- Specified by:
isExclusive
in interface Divert
getFilter
public Filter getFilter()
- Specified by:
getFilter
in interface Divert
Copyright © 2006 JBoss Inc. All Rights Reserved.