super(true, messageExchangeModelItem, MessageExchangeModelItem.MESSAGE_EXCHANGE);
this.messageExchangeModelItem = messageExchangeModelItem;
}
public StringToStringMap getJMSHeadersAndProperties() {
MessageExchange messageExchange = getModelItem().getMessageExchange();
if (messageExchange != null) {
return messageExchange.getResponseHeaders().toStringToStringMap();
} else {
return new StringToStringMap();
}
}