Hi,
You got this kind of exception, because you didn't specify the context
path. Please change the RouteBuilder configure method like this
from("jetty:http://localhost:9080/?matchOnUriPrefix=true";).to("mock:one");
Willem
hdev wrote:
Hi,
when I try to start a CamelContext with a simple rou
So, would it make sense that in my customConsumer that extends
ScheduledPollConsumer, I override doStart() to schedule more tasks? Is this
thread-safe to do?
@Override
protected void doStart() throws Exception {
if (log.isDebugEnabled()) {
log.debug("Starting consume
Hi
Remember to state the versions you are using. See this wiki page please
http://camel.apache.org/support.html
On Sat, Mar 20, 2010 at 2:13 PM, Yari Marchetti wrote:
> Hi everyone,
> i configured Camel with a route like:
>
>
>
>
>
> java.net.ConnectException
>
On Fri, Mar 19, 2010 at 9:22 AM, Meise, Christoph
wrote:
> Interestingly the Direct component is able to span across context. Imagine
> you have two spring files with each containing route definitions. All
> external interface endpoints ("from:" and the final "to:") are declared in a
> third sp
What would the difference be between just invoking a JSR-303 bean using
.to("bean:foo?method=validateMyFooPlease")
And just have a void method definition with the JSR-303 @ annotations?
I assume JSR-303 will throw some exception if the validation failed?
I recon I need to see a more concrete exam
Hi
Try to get a JPA example working on Tomcat without Camel.
JPA is not that trivial to get working on various contains as it got
classloading tricks to do for the JPA stuff.
So I would look for a JPA + Tomcat. Maybe there is a example WAR ready
to just try out.
And if you use Hibernate for JPA t
Hi everyone,
i configured Camel with a route like:
java.net.ConnectException
GET
http://localhost:81"; />
but i found 2 problems:
1) the exponential backoff and delay seems to not be working correctly
With the above configuration i s
Hi,
when I try to start a CamelContext with a simple route
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.impl.DefaultCamelContext;
public class Main {
public static void main(String[] args) throws Exception {
DefaultCamelContext camelContext;