I see.
Thanks for the explanation Claus
--
View this message in context:
http://camel.465427.n5.nabble.com/CamelContext-autoStartup-false-not-working-tp5717994p5718009.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I edited my original post with my camel version : 2.10.0
Here's the code of my route :
public class ContactReportRoute extends RouteBuilder {
private static final Logger LOGGER =
Logger.getLogger(ContactReportRoute.class);
@Override
public void configure() throws Exception {
Hi all,
I have this configuration :
http://camel.apache.org/schema/spring";>
http://camel.apache.org/schema/spring"; autoStartup="false">
The first camelcontext should start automatically as it does. The second
shouldn't start automatically because of autoStartup="false". Bu
As you said, I updated to the most recent version (2.10.0) through maven, but
this didn't do the job. :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5717767.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I'm using Windows 7.
The .converBodyTo(String.class) part worked :)
Thank you Claus!
--
View this message in context:
http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5717764.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi all,
I got the following camel route :
from("direct:customerroute")
.log("File was found in directory: " + customersFolder)
.choice()
.when(simple("${file:ext} == 'xml' || ${file:ext} ==
'XML'"))
.log("XML file recognized")
Hi all,
I got my camel route which is picking up all files perfectly except for the
ones starting with a "."
So for example: I got a file named ".Contacts.xml". I would think camel
would pick up this file, but instead ignores it. If I rename the file to
"Contacts.xml" it gets picked up.
Is this s
Update : We found the problem with the doublue quotes, it's in the encoding
of the file.
New problem : How to set the encoding of the unmarshal method?
We tried to set the encoding of the exchange to UTF-8, we tried to set the
encoding of the route to UTF-8.
Both were unsuccessful.
Any suggestio
Hi all,
This is our route, everything works fine.
CsvDataFormat csv = new CsvDataFormat();
csv.setDelimiter(";");
onException(RuntimeException.class).handled(false).to("bean:exceptionProcessor",
"direct:readData").stop();
from(from)
.to("seda:fileQueue");
Hi all,
At the moment, we have this route :
onException(RuntimeException.class).handled(false).to("bean:exceptionProcessor").stop();
from(from).noAutoStartup()
.routeId("csvProcessingRoute")
.unmarshal(csv)
.p
Thanks for your answer Ngoc,
We tried that already. But nothing seems to work.
Our route retries to consume the same file over and over again until it
reaches its timeout.
Any other suggestions?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-onException-tp48298
Hi all,
In our project, we need to validate a csv file, we do this in a camel route.
But if something is wrong with the csv, we throw an exception.
Is it possible to stop the route right after this exception is thrown?
We've tried onException(RuntimeException.class).stop()
We've tried onExceptio
12 matches
Mail list logo