Tabnine Logo
BridgeHandler.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.springframework.integration.handler.BridgeHandler
constructor

Best Java code snippets using org.springframework.integration.handler.BridgeHandler.<init> (Showing top 20 results out of 315)

origin: spring-projects/spring-integration

/**
 * Populate a {@link BridgeHandler} to the current integration flow position.
 * Typically used with a Java 8 Lambda expression:
 * <pre class="code">
 * {@code
 *  .bridge(s -> s.poller(Pollers.fixedDelay(100))
 *                   .autoStartup(false)
 *                   .id("priorityChannelBridge"))
 * }
 * </pre>
 * @param endpointConfigurer the {@link Consumer} to provide integration endpoint options.
 * @return the current {@link IntegrationFlowDefinition}.
 * @see GenericEndpointSpec
 */
public B bridge(Consumer<GenericEndpointSpec<BridgeHandler>> endpointConfigurer) {
  return register(new GenericEndpointSpec<>(new BridgeHandler()), endpointConfigurer);
}
origin: spring-projects/spring-integration

@Override
protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations) {
  BridgeHandler handler = new BridgeHandler();
  String outputChannelName = MessagingAnnotationUtils.resolveAttribute(annotations, "value", String.class);
  if (StringUtils.hasText(outputChannelName)) {
    handler.setOutputChannelName(outputChannelName);
  }
  return handler;
}
origin: spring-projects/spring-integration

@Override
protected MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations) {
  BridgeHandler handler = new BridgeHandler();
  String outputChannelName = resolveTargetBeanName(method);
  handler.setOutputChannelName(outputChannelName);
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "autoCreateChannel")
public MessageHandler autoCreateServiceActivator() {
  return new BridgeHandler();
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithoutGatherChannel")
public MessageHandler auctionWithoutGatherChannelBridge2() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel1());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithoutGatherChannel")
public MessageHandler auctionWithoutGatherChannelBridge3() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel1());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithGatherChannel")
public MessageHandler auctionWithGatherChannelBridge1() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel2());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
public BridgeHandler bridgeTarget() { // separate bean so setters and aPS are called
  BridgeHandler bridgeHandler = new BridgeHandler();
  bridgeHandler.setOutputChannel(out());
  bridgeHandler.setShouldTrack(true);
  return bridgeHandler;
}
origin: spring-projects/spring-integration

BridgeHandler bridgeHandler = new BridgeHandler();
boolean registerSubflowBridge = false;
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "distributionChannel1")
public MessageHandler distributionBridge1() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel1());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "distributionChannel3")
public MessageHandler distributionBridge3() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel1());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithoutGatherChannel")
public MessageHandler auctionWithoutGatherChannelBridge1() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel1());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "distributionChannel2")
public MessageHandler distributionBridge2() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel1());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithGatherChannel")
public MessageHandler auctionWithGatherChannelBridge3() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel2());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithGatherChannel")
public MessageHandler auctionWithGatherChannelBridge4() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel2());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "scatterAuctionWithGatherChannel")
public MessageHandler auctionWithGatherChannelBridge2() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(serviceChannel2());
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "publishSubscribeChannel")
public MessageHandler securedChannelQueueBridge() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(securedChannelQueue());
  handler.setOrder(1);
  return handler;
}
origin: spring-projects/spring-integration

@Bean
@ServiceActivator(inputChannel = "publishSubscribeChannel")
public MessageHandler securedChannelQueue2Bridge() {
  BridgeHandler handler = new BridgeHandler();
  handler.setOutputChannel(securedChannelQueue2());
  handler.setOrder(2);
  return handler;
}
origin: spring-projects/spring-integration

IntegrationFlowBuilder flowBuilder = IntegrationFlows.from(producer);
BridgeHandler bridgeHandler = new BridgeHandler();
bridgeHandler.setBeanName("bridge");
origin: spring-projects/spring-integration

inbound.setRequestChannel(inChannel);
inbound.afterPropertiesSet();
inChannel.subscribe(new BridgeHandler());
inbound.start();
TestingUtilities.waitListening(server, 10000L);
org.springframework.integration.handlerBridgeHandler<init>

Popular methods of BridgeHandler

  • setOutputChannel
  • afterPropertiesSet
  • setBeanFactory
  • setOutputChannelName
  • setBeanName
  • getComponentName
  • getDuration
  • getHandleCount
  • handleMessage
  • setOrder
  • setShouldTrack
  • verifyOutputChannel
  • setShouldTrack,
  • verifyOutputChannel

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • String (java.lang)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now