1 Reply Latest reply on May 2, 2007 7:10 AM by Burr Sutter

    Can you make "rules" for the processing gateways?

    Mihai Anescu Newbie

      Hi,

      Is it possible to make some rules for the processing gateway/listener? Something like:

      Listen from 10:00 to 10:30 each day?

      From what I know you can tell the listener a time period, such as 10 seconds, used to "scan" the target gateway:
      <property name="pollLatencySeconds" value="10"/>


      But can you do something more specific? Or this would need a custom gateway? Or could this also be implemented in the content based routing?
      For example stop the processing if the time is not in a given interval?

        • 1. Re: Can you make
          Burr Sutter Master

          Hopefully one of the other guys can chime in...

          I believe it would require a custom gateway. Now, you could use the CBR and ignore all the other messages you receive outside of your time window. Simply toss them to the floor (the CBR has that capability).

          You might building your Quartz-based solution that once it pulls in a file/message it immediately toss it over to the ESB.

          You might use your Quartz-based solution to programmatically deactivate/activate the EPR.