public class Divert<T extends Divert> extends Object
| Modifier and Type | Method and Description |
|---|---|
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() |
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 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 © 2015 JBoss by Red Hat. All rights reserved.