public class StaticResponseEndpointAdapter extends StaticEndpointAdapter
log
Constructor and Description |
---|
StaticResponseEndpointAdapter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMessageHeader()
Gets the message header.
|
String |
getMessagePayload()
Gets the message payload.
|
String |
getMessagePayloadResource()
Gets the value of the messagePayloadResource property.
|
Message |
handleMessageInternal(Message request)
Subclasses must implement this method in order to handle incoming request message.
|
void |
setMessageHeader(Map<String,Object> messageHeader)
Set the response message header.
|
void |
setMessagePayload(String messagePayload)
Set the response message payload.
|
void |
setMessagePayloadResource(String messagePayloadResource)
Sets the messagePayloadResource property.
|
getEndpoint, getEndpointConfiguration
afterPropertiesSet, getFallbackEndpointAdapter, getName, getTestContext, getTestContextFactory, handleMessage, setApplicationContext, setBeanName, setFallbackEndpointAdapter, setTestContextFactory
public Message handleMessageInternal(Message request)
AbstractEndpointAdapter
handleMessageInternal
in class AbstractEndpointAdapter
public String getMessagePayload()
public void setMessagePayload(String messagePayload)
messagePayload
- the messagePayload to setpublic String getMessagePayloadResource()
public void setMessagePayloadResource(String messagePayloadResource)
messagePayloadResource
- Copyright © 2008–2018 ConSol Software GmbH. All rights reserved.