The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

alexcmak (1) [Avatar] Offline
camel-exec is not covered in the Camel in Action book.

I tried to follow the example here to
try camel-exec.

from("direct:exec").to("exec:cmd?args=/C echo echoString")

There is no sign of the echoString after I ran.

All I get is the following:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further detail

Where did the echo go? Did it go to the log?
I do see slf4-api-1.6.4.jar in my Maven Dependencies. How do I get around
this StaticLoggerBinder problem?

Alex Mak
davsclaus (413) [Avatar] Offline
Re: Camel Exec

This is a forum for discussing the book and the content it covers. I have to suggest you to use the Camel forum/mailinglist for questions that is not specific to the book. As there is a lot more people there to help you. And also maybe people in the past having the same issue and talked about it before.

There is also stackoverflow etc

And about your slf4j then you need to add the JAR to bridge to the logger of your choice. So if you use log4j, then you need to add