Hi, first, thanks for Camel, very cool!
When I uncomment the latter half of the first route (effectively making the
errormailer queue a wiretap) I no longer see any output in the log such as
"Processing message." With the file://target route commented out, it gets to
the process in the ErrorMailer and the log displays the message as expected.
However, if i then uncomment the latter half of the second route - the
.to("smtp:")... then I again no longer see anything in the log from the
ErrorMailer. I'm not receiving the emails, so I'm not sure what's going on.
I've configured the components via Spring (jms component, and a mail
component).
Here's the configure method from myRouteBuilder:
LOG.info("Configuring route.");
from("jms:queue.submiterror").
to("jms:queue.erroremailer" );//,
"file://target/test?noop=true");
from("jms:queue.erroremailer").process( new ErrorEmailer()
);//.to("smtp://[EMAIL PROTECTED]");
I've added the logging to watch what happens in the ErrorMailer:
ErrorMailer::Process
LOG.info("Processing message.");
Message in = exchange.getIn();
... summarize the message and make it human readable ..
Message out = exchange.getOut();
out.setBody(stuff);
out.setHeader("to", "[EMAIL PROTECTED]");
Any help would be appreciated!
Jan
--
View this message in context:
http://www.nabble.com/Camel-Noob---processing-in-the-pipeline%2C-logging-tf4862467s22882.html#a13914577
Sent from the Camel - Users mailing list archive at Nabble.com.