public final class AmqpArguments extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AmqpArguments.AmqpTableEntry
AmqpTableEntry represents a single entry in the table containing
custom headers.
|
Modifier and Type | Field and Description |
---|---|
ArrayList<AmqpArguments.AmqpTableEntry> |
tableEntryArray |
Constructor and Description |
---|
AmqpArguments() |
Modifier and Type | Method and Description |
---|---|
AmqpArguments |
addInteger(String key,
int value)
Adds an integer entry to the AmqpArguments table.
|
AmqpArguments |
addLongString(String key,
String value)
Adds a long string entry to the AmqpArguments table.
|
List<AmqpArguments.AmqpTableEntry> |
getEntries(String key)
Returns a list of AmqpTableEntry objects that matches the specified key.
|
String |
toString()
Returns the string/JSON representation of the table of entries.
|
public ArrayList<AmqpArguments.AmqpTableEntry> tableEntryArray
public String toString()
public AmqpArguments addInteger(String key, int value)
key
- name of an entryvalue
- integer value of an entrypublic AmqpArguments addLongString(String key, String value)
key
- name of an entryvalue
- long string value of an entrypublic List<AmqpArguments.AmqpTableEntry> getEntries(String key)
key
- name of the entryCopyright © 2014. All Rights Reserved.