THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- the URIs of the inputs (which could come from any of the Camel Components
- the Correlation Identifier used to correlate together the purchase order and invoice messages which can be any Expression via any of the Languages Supported. In this case we are using XPath.
Then the final line of code defines the temporal rules to use; namely that it is considered to be an error if an invoice is not received within 2 seconds of a purchase order being received. When a failure occurs in this example we just send it to the Log component to log out an error level message to commons-logging / log4j. You could change this to use some of the other Components such as ActiveMQ, JMS, IRC, Mail, XMPP etc.
...