Class JmsConnector
- java.lang.Object
-
- io.smallrye.reactive.messaging.jms.JmsConnector
-
- All Implemented Interfaces:
ConnectorFactory
,IncomingConnectorFactory
,OutgoingConnectorFactory
@ApplicationScoped public class JmsConnector extends Object implements IncomingConnectorFactory, OutgoingConnectorFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONNECTOR_NAME
The name of the connector:smallrye-jms
-
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 JmsConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>
getPublisherBuilder(org.eclipse.microprofile.config.Config config)
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void>
getSubscriberBuilder(org.eclipse.microprofile.config.Config config)
void
init()
-
-
-
Field Detail
-
CONNECTOR_NAME
public static final String CONNECTOR_NAME
The name of the connector:smallrye-jms
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@PostConstruct public void init()
-
cleanup
@PreDestroy public void cleanup()
-
getPublisherBuilder
public org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> getPublisherBuilder(org.eclipse.microprofile.config.Config config)
- Specified by:
getPublisherBuilder
in interfaceIncomingConnectorFactory
-
getSubscriberBuilder
public org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> getSubscriberBuilder(org.eclipse.microprofile.config.Config config)
- Specified by:
getSubscriberBuilder
in interfaceOutgoingConnectorFactory
-
-