13 Replies Latest reply on Jul 6, 2007 8:01 AM by Mark Little

    Can you make a routing based on the message format?

    Mihai Anescu Newbie

      Hi,

      I'm trying to find out if it is possible to make a routing based on the message format, for example I know I can define in the gateway a filename pattern, such as ABC*.csv, but how do I check that the file is really a CSV file when I start to process it?

      Or another example, suppose i get two types of XML files on the same gateway, and based on the DTD each one must go on a different processing route. Is this possible, with drools/content routing?