Class JmsConnector
java.lang.Object
io.smallrye.reactive.messaging.jms.JmsConnector
- All Implemented Interfaces:
InboundConnector,OutboundConnector,ConnectorFactory
@ApplicationScoped
public class JmsConnector
extends Object
implements InboundConnector, OutboundConnector
-
Field Summary
FieldsFields inherited from interface org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory
CHANNEL_NAME_ATTRIBUTE, CONNECTOR_ATTRIBUTE, CONNECTOR_PREFIX, INCOMING_PREFIX, OUTGOING_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()Flow.Publisher<? extends Message<?>>getPublisher(org.eclipse.microprofile.config.Config config) Flow.Subscriber<? extends Message<?>>getSubscriber(org.eclipse.microprofile.config.Config config) voidinit()
-
Field Details
-
CONNECTOR_NAME
The name of the connector:smallrye-jms- See Also:
-
-
Constructor Details
-
JmsConnector
public JmsConnector()
-
-
Method Details
-
init
@PostConstruct public void init() -
cleanup
@PreDestroy public void cleanup() -
getPublisher
public Flow.Publisher<? extends Message<?>> getPublisher(org.eclipse.microprofile.config.Config config) - Specified by:
getPublisherin interfaceInboundConnector
-
getSubscriber
public Flow.Subscriber<? extends Message<?>> getSubscriber(org.eclipse.microprofile.config.Config config) - Specified by:
getSubscriberin interfaceOutboundConnector
-