HeaderMapper implementation.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| protected final Log | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | fromHeaderName(String headerName)
Generate the name to use to set the header defined by the specified
|
| protected <V> V | |
| public void | setInboundPrefix(String inboundPrefix)
Specify a prefix to be appended to the message header name for any user-defined property that is being mapped into the MessageHeaders. |
| public void | setOutboundPrefix(String outboundPrefix)
Specify a prefix to be appended to the protocol property name for any user-defined message header that is being mapped into the protocol-specific Message. |
| protected String | toHeaderName(String propertyName)
Generate the name to use to set the header defined by the specified
|
| inboundPrefix | back to summary |
|---|---|
| private String inboundPrefix | |
| logger | back to summary |
|---|---|
| protected final Log logger | |
| outboundPrefix | back to summary |
|---|---|
| private String outboundPrefix | |
| AbstractHeaderMapper | back to summary |
|---|---|
| public AbstractHeaderMapper() | |
| fromHeaderName | back to summary |
|---|---|
| protected String fromHeaderName(String headerName) Generate the name to use to set the header defined by the specified
| |
| getHeaderIfAvailable | back to summary |
|---|---|
| protected <V> V getHeaderIfAvailable(Map<String, Object> headers, String name, Class<V> type) Return the header value, or
| |
| setInboundPrefix | back to summary |
|---|---|
| public void setInboundPrefix(String inboundPrefix) Specify a prefix to be appended to the message header name for any user-defined property that is being mapped into the MessageHeaders. The default is an empty String (no prefix). | |
| setOutboundPrefix | back to summary |
|---|---|
| public void setOutboundPrefix(String outboundPrefix) Specify a prefix to be appended to the protocol property name for any user-defined message header that is being mapped into the protocol-specific Message. The default is an empty String (no prefix). | |
| toHeaderName | back to summary |
|---|---|
| protected String toHeaderName(String propertyName) Generate the name to use to set the header defined by the specified
| |