Class HeaderValueRouter

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ExpressionCapable, Orderable, IntegrationPattern, MessageRouter, NamedComponent, IntegrationManagement, MappingMessageRouterManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class HeaderValueRouter
extends AbstractMappingMessageRouter
A Message Router that resolves the MessageChannel from a header value.
Since:
1.0.3
Author:
Oleg Zhurakousky, Mark Fisher
  • Constructor Details

    • HeaderValueRouter

      public HeaderValueRouter​(String headerName)
      Create a router that uses the provided header name to lookup a channel.
      Parameters:
      headerName - The header name.
  • Method Details