Class CamelConnector

java.lang.Object
io.smallrye.reactive.messaging.camel.CamelConnector
All Implemented Interfaces:
InboundConnector, OutboundConnector, org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory

@ApplicationScoped public class CamelConnector extends Object implements InboundConnector, OutboundConnector
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory

    CHANNEL_NAME_ATTRIBUTE, CONNECTOR_ATTRIBUTE, CONNECTOR_PREFIX, INCOMING_PREFIX, OUTGOING_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.component.reactive.streams.api.CamelReactiveStreamsService
     
    Flow.Publisher<? extends org.eclipse.microprofile.reactive.messaging.Message<?>>
    getPublisher(org.eclipse.microprofile.config.Config config)
     
    Flow.Subscriber<? extends org.eclipse.microprofile.reactive.messaging.Message<?>>
    getSubscriber(org.eclipse.microprofile.config.Config config)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CamelConnector

      public CamelConnector()
  • Method Details

    • getCamelReactive

      @Produces @ApplicationScoped public org.apache.camel.component.reactive.streams.api.CamelReactiveStreamsService getCamelReactive()
    • getPublisher

      public Flow.Publisher<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getPublisher(org.eclipse.microprofile.config.Config config)
      Specified by:
      getPublisher in interface InboundConnector
    • getSubscriber

      public Flow.Subscriber<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getSubscriber(org.eclipse.microprofile.config.Config config)
      Specified by:
      getSubscriber in interface OutboundConnector