I forgot to add I am using camel 2.16.2
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-Java-DSL-InstantiationError-tp5777659p5777660.html
Sent from the Camel - Users mailing list archive at Nabble.com.
When trying to use jetty to call a REST service from java DSL, I get the
following:
Caused By: java.lang.InstantiationError:
org.eclipse.jetty.util.SocketAddressResolver
at org.eclipse.jetty.client.HttpClient.doStart(HttpClient.java:212)
at
org.apache.camel.component.jetty.CamelHtt
Thanks for the response. That was kind of what I was looking for as I can
now get a reference to the exception from within the consumer now. I still
can't get the exception to propagate to the bean that is using the
conusmerTemplate however.
Throwing the exception from the rollback method doesn'
My requirement is to poll a remote SFTP site on demand and download all of
the files. I cannot setup a scheduled poller, it will need to be triggered
from an external source.
The only way I found to do that was to use the consumerTemplate:
Exchange exchange=consumer.receive(uri,2000);
I do th