1 Reply Latest reply on Jul 7, 2007 4:52 PM by marklittle

    Filters and meta-data modificatins

    marklittle

      I've modified the filters so that they can be fired on gateways as well. This will go into the trunk later today and will be available in MR3 in the nex week or so.

        • 1. Re: Filters and meta-data modificatins
          marklittle

          From the Programmers Guide on meta-data and filters ...


          JBossESB ships with org.jboss.internal.soa.esb.message.filter.MetaDataFilter and org.jboss.internal.soa.message.filter.GatewayFilter which add the following meta-data to the Message as Properties with the indicated property names and the returned String values.

          org.jboss.soa.esb.message.transport.type --> File, FTP, JMS or SQL.
          org.jboss.soa.esb.message.source --> The name of the file from which the message was read.
          org.jboss.soa.esb.message.time.dob --> The time the message entered the ESB, e.g., the time it was sent, or the time it arrived at a gateway.
          org.jboss.soa.esb.mesage.time.dod --> The time the message left the ESB, e.g., the time it was received.
          org.jboss.soa.esb.gateway.original.file.name --> If the message was received via a file related gateway node, then this element will contain the name of the original file from which the message was sourced.
          org.jboss.soa.esb.gatway.original.queue.name --> If the message was received via a JMS gateway node, then this element will contain the name of the queue from which it was received.
          org.jboss.soa.esb.gateway.original.url --> If the message was received via a SQL gateway node, then this element will contain the original database URL.