I created a JIRA for the id problem
https://issues.apache.org/activemq/browse/CAMEL-2109
What still bothers me is the last sentence. When I rebuild the route and
move .id() and .transacted() before onException
public void configure() {
from("jms:fileIn?transacted=true")
.id("fileMapping")
.transacted()
.onException(UnmarshalException.class)
.handled(true)
.bean(FileProcessExceptionBean.class,"handleException")
.end()
.process(new FileProcessor())
.to("jms:fileOut");
}
then ALL messages are routed through onException.
--
View this message in context:
http://www.nabble.com/RouteBuilder%3A-Problems-with-onException-and-id-tp26024958p26057289.html
Sent from the Camel - Users mailing list archive at Nabble.com.