Class LargeMessageConsumer

    • Constructor Detail

      • LargeMessageConsumer

        public LargeMessageConsumer()
    • Method Detail

      • onMessage

        public void onMessage​(javax.jms.Message jmsMsg)
        Specified by:
        onMessage in interface javax.jms.MessageListener
        See Also:
        MessageListener.onMessage(javax.jms.Message)
      • onChannelStatus

        public void onChannelStatus​(progress.message.jclient.Channel channel,
                                    java.lang.Exception e)
        Specified by:
        onChannelStatus in interface progress.message.jclient.ChannelListener
      • getConfig

        public ReceiveChannelConfig getConfig()

        Returns the LargeMessageConfig to use.

        Returns:
        the LargeMessageConfig to use
      • setConfig

        public void setConfig​(ReceiveChannelConfig cfg)

        Sets the LargeMessageConfig to use. May not be null.

        Parameters:
        cfg - the LargeMessageConfig to use
      • getDeleteWorkingFile

        public java.lang.Boolean getDeleteWorkingFile()
        Returns:
        the deleteWorkingFile
      • setDeleteWorkingFile

        public void setDeleteWorkingFile​(java.lang.Boolean b)
        Specify whether or not to delete the workfing file once processing is complete
        Parameters:
        b - the deleteWorkingFile to set, defaults to false.
      • getQueue

        public java.lang.String getQueue()
        The Sonic Queue that will be used to initiate large message transfers.
      • setQueue

        public void setQueue​(java.lang.String queue)
        The Sonic Queue that will be used to initiate large message transfers.