Class JMSDistribution

    • Constructor Detail

      • JMSDistribution

        public JMSDistribution()
    • Method Detail

      • init

        public void init​(Properties properties,
                         boolean firstTime)
        Description copied from interface: DistributionHandler
        Configures the handler with the given properties.
        Specified by:
        init in interface DistributionHandler
        Parameters:
        properties - The initial set of properties.
      • distribute

        public void distribute​(Message message)
                        throws Exception
        Description copied from interface: DistributionHandler
        Distributes the given message outside of the JORAM server.
        Specified by:
        distribute in interface DistributionHandler
        Parameters:
        message - the message to distribute
        Throws:
        Exception - if the message could not be distributed. The message will be forwarded to a DMQ, if any.
      • close

        public void close()
        Closes the JMS distribution module and all associated resources. Called by generic behavior during the destination finalization.
        Specified by:
        close in interface DistributionHandler