Class SimplePublisherMetadataSource

java.lang.Object
org.springframework.integration.aop.SimplePublisherMetadataSource

public class SimplePublisherMetadataSource extends Object
Simple implementation of PublisherMetadataSource that allows for configuration of a single channel name, payload expression, and array of header key=value expressions.
Since:
2.0
Author:
Mark Fisher, Artem Bilan
  • Field Details

  • Constructor Details

    • SimplePublisherMetadataSource

      public SimplePublisherMetadataSource()
  • Method Details

    • setChannelName

      public void setChannelName(String channelName)
    • getChannelName

      public String getChannelName(Method method)
    • setPayloadExpression

      public void setPayloadExpression(String payloadExpression)
    • getExpressionForPayload

      public Expression getExpressionForPayload(Method method)
    • setHeaderExpressions

      public void setHeaderExpressions(Map<String,String> headerExpressions)
    • getExpressionsForHeaders

      public Map<String,Expression> getExpressionsForHeaders(Method method)