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()
Get destination, the RePublish Subject template
|
java.lang.String |
getSource()
Get source, the Published Subject-matching filter
|
boolean |
isHeadersOnly()
Get headersOnly, Whether to RePublish only headers (no body)
|
java.lang.String |
toJson() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserialize, toJsonValuepublic 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()