Raul Kripalani wrote > > Once again, if your messages are XML and you want to manipulate > dateTime types, I suggest you use the standard XPath/XQuery functions. > It's gonna be simpler and probably faster. > > Both the XQuery example or the XPath language (with Saxon as a Factory > as support for XPath 2.0 is needed) would do the trick. > >
Well, after thinking on what I actually need to do I don't think it will be that simple. I need to track whenever the last time the route was run. So basically the route would run such as Timer -> get Last Successful Run Time -> Do More Route Stuff -> If successful, set Last Successful Run Time At first I thought a simple delta on a run time would work, but given the possiblity for errors, needing the ability to set a default Last Run Time and such, I think it needs to be a bit more complex. I have considered a singleton on the osgi container that would track the state a bit, but I am not sure that is the best option here. Still trying to figure out what route I should go in order to manage this run date. -- View this message in context: http://camel.465427.n5.nabble.com/Date-String-Creation-tp5052753p5058954.html Sent from the Camel - Users mailing list archive at Nabble.com.