org.springframework.integration.mapping.HeaderMapper Java Examples

The following examples show how to use org.springframework.integration.mapping.HeaderMapper. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PubSubMessageSource.java    From spring-cloud-gcp with Apache License 2.0 4 votes vote down vote up
public void setHeaderMapper(HeaderMapper<Map<String, String>> headerMapper) {
	Assert.notNull(headerMapper, "The header mapper can't be null.");
	this.headerMapper = headerMapper;
}
 
Example #2
Source File: PubSubInboundChannelAdapter.java    From spring-cloud-gcp with Apache License 2.0 2 votes vote down vote up
/**
 * Set the header mapper to map headers from incoming {@link com.google.pubsub.v1.PubsubMessage} into
 * {@link org.springframework.messaging.Message}.
 * @param headerMapper the header mapper
 */
public void setHeaderMapper(HeaderMapper<Map<String, String>> headerMapper) {
	Assert.notNull(headerMapper, "The header mapper can't be null.");
	this.headerMapper = headerMapper;
}
 
Example #3
Source File: PubSubMessageHandler.java    From spring-cloud-gcp with Apache License 2.0 2 votes vote down vote up
/**
 * Set the header mapper to map headers from {@link Message} into outbound
 * {@link com.google.pubsub.v1.PubsubMessage}.
 * @param headerMapper the header mapper
 */
public void setHeaderMapper(HeaderMapper<Map<String, String>> headerMapper) {
	Assert.notNull(headerMapper, "The header mapper can't be null.");
	this.headerMapper = headerMapper;
}