Class AqConnectorImpl

    • Method Detail

      • getFactory

        protected Optional<? extends javax.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​(javax.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:
        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<?>,​javax.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