Class MethodAnnotationPublisherMetadataSource

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

public class MethodAnnotationPublisherMetadataSource extends Object
An PublisherMetadataSource implementation that retrieves the channel name and expression strings from an annotation.
Since:
2.0
Author:
Mark Fisher, Artem Bilan, Gareth Chapman, Cameron Mayfield, Chengchen Ji, Gary Russell
  • Field Details

  • Constructor Details

    • MethodAnnotationPublisherMetadataSource

      public MethodAnnotationPublisherMetadataSource()
    • MethodAnnotationPublisherMetadataSource

      public MethodAnnotationPublisherMetadataSource(Set<Class<? extends Annotation>> annotationTypes)
  • Method Details

    • setChannelAttributeName

      public void setChannelAttributeName(String channelAttributeName)
    • getChannelName

      public String getChannelName(Method method)
    • getExpressionForPayload

      public Expression getExpressionForPayload(Method method)
    • getExpressionsForHeaders

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