On Mar 25, 2008, at 10:31 AM, James Strachan wrote:
I guess the biggest issue right now is if we did...

from("quartz://myGroup/myTimerName/0/0/12/*/*/$").to("http://foo.com/bar.xml ").to("file://myDirectory/someName.xml");

then the HTTP endpoint would tend to do a POST not a GET as it would
be receiving a payload of the quartz event. I guess thats just a
limitation of the HTTP endpoint; we maybe need some way to enforce the
GET operation or something?

--
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

This seems like a great idea that could be applied to the file, ftp, and even jms endpoints (basically anything with a ScheduledPollConsumer.) Maybe another DSL construct or a polling component could generalize this further? Not terribly familiar with what could work within the DSL, but some ideas...

from("quartz://myGroup/myTimerName/0/0/12/*/*/$").to("poll:http://foo.com/bar.xml ").to("file://myDirectory/someName.xml");

from("quartz://myGroup/myTimerName/0/0/12/*/*/$").from("http://foo.com/bar.xml ").to("file://myDirectory/someName.xml");

trigger(from("jms:queue:pollRequests")).poll("http://foo.com/ bar.xml").to("file://myDirectory/someName.xml");

No clue how any of this could be achieved, just throwing it out there :)

- aaron

Reply via email to