java.lang.Object
io.helidon.messaging.connectors.jms.JmsConnector
io.helidon.messaging.connectors.aq.AqConnectorImpl
All Implemented Interfaces:
AqConnector, Stoppable, ConnectorFactory, IncomingConnectorFactory, OutgoingConnectorFactory

@ApplicationScoped public class AqConnectorImpl extends JmsConnector implements AqConnector
MicroProfile Reactive Messaging Oracle AQ connector.
  • Method Details

    • getFactory

      protected Optional<? extends jakarta.jms.ConnectionFactory> getFactory(ConnectionContext ctx)
      Description copied from class: JmsConnector
      Find correct ConnectionFactory for channel.
      Overrides:
      getFactory in class JmsConnector
      Parameters:
      ctx - Channel's context
      Returns:
      appropriate connection factory
    • createMessage

      protected JmsMessage<?> createMessage(NackHandler nackHandler, jakarta.jms.Message message, Executor executor, SessionMetadata sessionMetadata)
      Description copied from class: JmsConnector
      Create reactive messaging message from JMS message.
      Overrides:
      createMessage in class JmsConnector
      Parameters:
      nackHandler - Not acknowledged handler
      message - JMS message
      executor - executor used for async execution of ack
      sessionMetadata - JMS session metadata
      Returns:
      reactive messaging message extended with custom JMS features
    • sendingErrorHandler

      protected BiConsumer<Message<?>,jakarta.jms.JMSException> sendingErrorHandler(Config config)
      Description copied from class: JmsConnector
      Customizable handler for errors during sending.
      Overrides:
      sendingErrorHandler in class JmsConnector
      Parameters:
      config - channel's config
      Returns:
      consumer of errors
    • stop

      public void stop()
      Description copied from interface: Stoppable
      Invoked during Messaging.stop().
      Specified by:
      stop in interface Stoppable
      Overrides:
      stop in class JmsConnector