public class Divert<T extends Divert<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
divertAddress()
Address to divert from
|
T |
divertAddress(String value)
Address to divert from
|
Boolean |
exclusive()
Whether the divert is exclusive, meaning that the message is diverted to
the new address, and does not go to the old address at all.
|
T |
exclusive(Boolean value)
Whether the divert is exclusive, meaning that the message is diverted to
the new address, and does not go to the old address at all.
|
String |
filter()
An optional filter string.
|
T |
filter(String value)
An optional filter string.
|
String |
forwardingAddress()
Address to divert to
|
T |
forwardingAddress(String value)
Address to divert to
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
routingName()
Routing name of the divert
|
T |
routingName(String value)
Routing name of the divert
|
String |
transformerClassName()
The name of a class used to transform the message's body or properties
before it is diverted.
|
T |
transformerClassName(String value)
The name of a class used to transform the message's body or properties
before it is diverted.
|
public Divert(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String divertAddress()
public Boolean exclusive()
public T exclusive(Boolean value)
public String filter()
public T filter(String value)
public String forwardingAddress()
public String routingName()
public String transformerClassName()
Copyright © 2019 JBoss by Red Hat. All rights reserved.