Call to secondary webservice
Hi kind readers! I am begining with Camel, and I'd like to ask a (maybe dumb) question for which my searches didn't find any answer. I have a route for a webservice ,being, in short: from(mySourceURI).process(myProcessor).to(myTargetURI). The processor in itself, shall handle many things, one of which being calling one ore more external webservices, getting the answer from it, and modifying the original exchange with elements depending on this answer. As far as I have seen, there is no "standard" way of doing so - I have looked to examples creating a default exchange, or using the "enrich" method, but it doesn't seem to me that these are correct ways to achieve what I'm trying to do. Any kind of help would be appreciated (including RTFM with a reference if my question actually was a dumb one). Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Call-to-secondary-webservice-tp5774683.html Sent from the Camel - Users mailing list archive at Nabble.com.
Camel-Bindy - unusual default Date format
Hi all! I have a situation where I use Camel-Bindy to create fixed-length records, which are to be written to/read from a legacy (and of course, unmodifiable) system. The specification of the records asks all dates to be formatted with a ddMM pattern, except for "empty" date fields, which are to be initialized with a "" value. That's fine when writing - I simply use a "paddingChar='0" attribute. However, when parsing "" as a Date, I obviously get a format error. I haven't found any forum thread matching such a case, nor I have found any clever way to do that without changing the field type to Integer, in order to be able handling this default value. I'd like to keep the type as Date, and haven't found a way to handle that using provided Bindy annotations. Any suggestion would be appreciated. Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Bindy-unusual-default-Date-format-tp5776720.html Sent from the Camel - Users mailing list archive at Nabble.com.