Re: Custom Router

2010-10-15 Thread Claus Ibsen
On Fri, Oct 15, 2010 at 8:59 PM, serega wrote: > > Is the dynamic router available only on camel 2.5? > Yes if you mean the .dynamicRouter as its documented on the web page http://camel.apache.org/dynamic-router.html > Sergey. > > > Hadrian Zbarcea wrote: >> >> Hi Sergey, >> >> Messages flow al

Re: Restlet

2010-10-15 Thread Claus Ibsen
On Fri, Oct 15, 2010 at 9:00 PM, Claus Ibsen wrote: > You need the restlet engine, see the caused stacktrace >> fully initialize the Restlet. No Restlet engine > The idea from Restlet would be the engine is pluggable. The engine is this one: com.noelios.restlet:com.noelios.restlet:jar:1.1 I bet

Re: Restlet

2010-10-15 Thread Claus Ibsen
You need the restlet engine, see the caused stacktrace > fully initialize the Restlet. No Restlet engine On Fri, Oct 15, 2010 at 8:57 PM, coolgold wrote: > > I added your dependencies and removed: > >   org.restlet.jse >   org.restlet >   2.0.0 > > > > Now I get: > > Error occurred while runnin

Re: Custom Router

2010-10-15 Thread serega
Is the dynamic router available only on camel 2.5? Sergey. Hadrian Zbarcea wrote: > > Hi Sergey, > > Messages flow along a route that can be statically or dynamically > configured. If I understand you correctly there are 2 things you could > look at. One is the dynamic router [1] (and relate

Re: Restlet

2010-10-15 Thread coolgold
I added your dependencies and removed: org.restlet.jse org.restlet 2.0.0 Now I get: Error occurred while running main from: org.apache.camel.spring.Main java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Re: Restlet

2010-10-15 Thread Claus Ibsen
On Fri, Oct 15, 2010 at 8:30 PM, coolgold wrote: > > Is there any doc on jars with versions that are needed? We use maven which has all the version information. You need the ones which has compile. The list below is from the upcoming Camel 2.5. [INFO] [dependency:list {execution: default-cli}]

Re: Restlet

2010-10-15 Thread coolgold
Is there any doc on jars with versions that are needed? -- View this message in context: http://camel.465427.n5.nabble.com/Restlet-tp3214269p3214284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Restlet

2010-10-15 Thread Claus Ibsen
Dobule check the classpath that you got the right versions and all the correct JARs needed. On Fri, Oct 15, 2010 at 8:22 PM, coolgold wrote: > > I'm not having much luck with REST and Camel. > > When using the following configuration: > > http://camel.apache.org/schema/spring";> >              

Re: camel-quartz and unique timername

2010-10-15 Thread Bengt Rodehav
JIRA created: https://issues.apache.org/activemq/browse/CAMEL-3239 /Bengt 2010/10/15 Claus Ibsen > On Fri, Oct 15, 2010 at 3:28 PM, Bengt Rodehav wrote: > > I'm using camel-quartz (Camel 2.4) and have some problems with the timer > > name (

Restlet

2010-10-15 Thread coolgold
I'm not having much luck with REST and Camel. When using the following configuration: http://camel.apache.org/schema/spring";> http://localhost:9080/users/{username}?restletMethods=post,get"; /> I get the follo

Re: SEDA createConsumer() question

2010-10-15 Thread Claus Ibsen
On Fri, Oct 15, 2010 at 5:25 PM, Donald Whytock wrote: > Would that be CamelContext.shutdownRoute(id)?  And does that use > RouteDefinition.id() or RouteDefinition.routeId()? > The route id, since you are shutting down a route with that given id. Which you set as follows ... from("sedq").rout

Re: camel-quartz and unique timername

2010-10-15 Thread Claus Ibsen
On Fri, Oct 15, 2010 at 3:28 PM, Bengt Rodehav wrote: > I'm using camel-quartz (Camel 2.4) and have some problems with the timer > name (part of the URI). > > It seems that if I have two different routes (using camel-quartz) with the > same timername, only one of the quartz endpoints will be activ

Re: Camel REST

2010-10-15 Thread coolgold
I added the dependency but still get the error. Here is my config: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:cxf="http://camel.apache.org/schema/cxf"; xmlns:jaxrs="http://cxf.apache.org/jaxrs"; xsi:schemaLoca

Re: SEDA createConsumer() question

2010-10-15 Thread Donald Whytock
Would that be CamelContext.shutdownRoute(id)? And does that use RouteDefinition.id() or RouteDefinition.routeId()? On Thu, Oct 14, 2010 at 9:24 PM, Willem Jiang wrote: > In Camel 2.5.0,you can do it by stopping old route which start with the SEDA > endpoint and adding a new route for it. > > Her

Re: Cross context connections, SEDA and BlockQueues

2010-10-15 Thread slew
Thanks for taking the time to answer Stan. I'll have another go at trying to get camel to convert the exception. I have a snapshot of the 2010.02 servicemix-camel component which I think handles the jbi part, I'll try updating to the latest to make sure I haven't just got a bug in my version.

camel-quartz and unique timername

2010-10-15 Thread Bengt Rodehav
I'm using camel-quartz (Camel 2.4) and have some problems with the timer name (part of the URI). It seems that if I have two different routes (using camel-quartz) with the same timername, only one of the quartz endpoints will be activated, e g: from("quartz://mytimername"?cron=0+*+*+*+*+?+*").to(

Re: GenericFileOperationFailedException

2010-10-15 Thread Bruno Dusausoy
On Fri, 15 Oct 2010 14:56:49 +0200, Bruno Dusausoy wrote: [...] I've just looked more carefully at the documentation and used the "?move=" attribute. It works. Sorry for the noise. Regards. -- Bruno Dusausoy YP5 Software -- Pensez environnement : limitez l'impression de ce mail. Please don't

GenericFileOperationFailedException

2010-10-15 Thread Bruno Dusausoy
Hi, I'm using Camel 2.4.0 on Windows. I have a simple route which takes a file from fs and add it as attachment to an email : from("file:c:\\post?fileName=input.csv") .process(new Processor() { public void process(Exchange exchange) throws Exception { M

Re: Cross context connections, SEDA and BlockQueues

2010-10-15 Thread Stan Lewis
I believe the servicemix-camel component handles this already, i.e. it'll convert an exception to a JBI fault and send it back as a response, assuming the MEP allows for it. On Thu, Oct 14, 2010 at 4:55 PM, slew wrote: > > Hi Stan, > > Thanks for the response and clarifying the blocking queue que

Re: Problem with Splitter() in Synchronous routes introduced in Camel 2.3

2010-10-15 Thread ee7arh
Hi All, Thanks for all the replies. I lost track of how this relates back to the Splitter() issue. Is there still some debate about whether this is a bug or a feature? ;) Thanks Andrew -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-Splitter-in-Synchronous-route