public class PrefixCorrelator extends AbstractCorrelator
Modifier and Type | Field and Description |
---|---|
String |
prefixBoundary
A char or a string that indicates the end of thee prefix at the beginning of the message or response.
|
Constructor and Description |
---|
PrefixCorrelator() |
Modifier and Type | Method and Description |
---|---|
String |
getPrefixBoundary()
Returns the prefix boundary - a char or a string indicating the end of prefix in the message or the response.
|
String |
getRequestCorrelationId(Message message,
Properties messageAttributes)
Extracts the correlation id from the request.
|
List<String> |
getResponseCorrelationIds(Serializable response,
io.vertx.core.MultiMap headers)
Extracts the correlation ids from the response.
|
PrefixCorrelator |
setPrefixBoundary(String prefixBoundary)
Change the prefix boundary - a char or a string indicating the end of prefix in the message or the response.
|
registerRequest, registerResponse
public String prefixBoundary
public String getRequestCorrelationId(Message message, Properties messageAttributes)
AbstractCorrelator
getRequestCorrelationId
in class AbstractCorrelator
message
- The request message.messageAttributes
- The request message attributes.public List<String> getResponseCorrelationIds(Serializable response, io.vertx.core.MultiMap headers)
AbstractCorrelator
getResponseCorrelationIds
in class AbstractCorrelator
response
- The received response.headers
- Headers received with the response. Can be useful for discovering correlation id.public String getPrefixBoundary()
public PrefixCorrelator setPrefixBoundary(String prefixBoundary)
prefixBoundary
- The prefix boundary.Copyright © 2010–2017 PerfCake Community. All rights reserved.