Class AbstractConduitSelector

    • Constructor Detail

      • AbstractConduitSelector

        public AbstractConduitSelector()
      • AbstractConduitSelector

        public AbstractConduitSelector​(Conduit c)
        Constructor, allowing a specific conduit to override normal selection.
        Parameters:
        c - specific conduit
    • Method Detail

      • removeConduit

        protected void removeConduit​(Conduit conduit)
      • getSelectedConduit

        protected Conduit getSelectedConduit​(Message message)
        Mechanics to actually get the Conduit from the ConduitInitiator if necessary.
        Parameters:
        message - the current Message
      • replaceEndpointAddressPropertyIfNeeded

        protected boolean replaceEndpointAddressPropertyIfNeeded​(Message message,
                                                                 String endpointAddress,
                                                                 Conduit cond)
      • complete

        public void complete​(Exchange exchange)
        Called on completion of the MEP for which the Conduit was required.
        Specified by:
        complete in interface ConduitSelector
        Parameters:
        exchange - represents the completed MEP
      • getLogger

        protected abstract Logger getLogger()
        Returns:
        the logger to use
      • findCompatibleConduit

        protected Conduit findCompatibleConduit​(Message message)
        If address protocol was changed, conduit should be re-initialised
        Parameters:
        message - the current Message