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 inherited from interface org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory
CHANNEL_NAME_ATTRIBUTE, CONNECTOR_ATTRIBUTE, CONNECTOR_PREFIX, INCOMING_PREFIX, OUTGOING_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
Field Details
-
CONNECTOR_NAME
- See Also:
-
-
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 interfaceInboundConnector
-
getSubscriber
public Flow.Subscriber<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getSubscriber(org.eclipse.microprofile.config.Config config) - Specified by:
getSubscriber
in interfaceOutboundConnector
-