public class Republish extends java.lang.Object implements JsonSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Republish.Builder
Placement can be created using a Builder.
|
| Constructor and Description |
|---|
Republish(java.lang.String source,
java.lang.String destination,
boolean headersOnly)
Construct a republish object
|
| Modifier and Type | Method and Description |
|---|---|
static Republish.Builder |
builder()
Creates a builder for a placements object.
|
java.lang.String |
getDestination() |
java.lang.String |
getSource() |
boolean |
isHeadersOnly() |
java.lang.String |
toJson() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserializepublic Republish(java.lang.String source,
java.lang.String destination,
boolean headersOnly)
source - the Published Subject-matching filterdestination - the RePublish Subject templateheadersOnly - Whether to RePublish only headers (no body)public java.lang.String getSource()
public java.lang.String getDestination()
public boolean isHeadersOnly()
public java.lang.String toJson()
toJson in interface JsonSerializablepublic static Republish.Builder builder()