Looking for advice on the best way to tackle the following... Need a process to: + poll a database table for the arrival of a new record + transform the record to the XML appropriate for a document-literal SOAP webservice + send to the webservice
All this is relatively easy; here are the issues: + the webservice will respond with an immediate communication status (ok/fail) + the service will also respond at some later time with an asynchronous processing status (ok/fail) + outgoing message (n + 1) should only be sent on receipt of the processing status response for message (n); polling may be paused waiting for this or it may continue (requiring messages to be buffered, presumably...this is the easier alternative maybe?) + the incoming async response message may never arrive, of course, so timeout handling will be required + the communication status should ideally allow one to distinguish between transient comms failures and permanent ones. In the case of transient one should retry while permanent errors should result in the message being logged I'm not a COMPLETE neophyte with Camel but I'd appreciate any expert advice on the best way to structure a solution. Pointers to examples/blogs/etc. would be great! Thoughts/suggestions gratefully accepted. Thanks in advance. Cheers, Alph -- View this message in context: http://camel.465427.n5.nabble.com/Would-appreciate-advice-on-the-best-way-to-tackle-a-problem-tp4312202p4312202.html Sent from the Camel - Users mailing list archive at Nabble.com.