public class MockMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
private HashMap<String,String> |
properties
Mock message properties.
|
| Constructor and Description |
|---|
MockMessage()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoded()
Get the encoded form of the message properties, which will be in the form
"key1=value1&key2=value2&...&keyN=valueN", sorted ascending by key.
|
Map<String,String> |
getProperties()
Get the mock message properties.
|
private List<String> |
sort(Set<String> messageKeys)
Convert a set into a sorted list.
|
public String getEncoded()
Copyright © 1999–2014. All rights reserved.