Re: Camel Routing based on bean return object

2009-02-27 Thread willem.jiang
Hi Markus I think we have some problems with this forum and the camel-user mail list. The reply letter to the mail list come to this forum[1]. [1]http://www.nabble.com/Camel---Users-f36428.html Willem Markus Reil wrote: > > Hi Andrew, > > what I do is set the target queue as a header field

Re: NoClassDefFoundError for unrelated classes

2009-02-27 Thread Bob Pollack
Just FYI, this behavior was probably triggered by your query string (?period=6). I have written a long post on this problem, at http://www.nabble.com/More-info-on-class-not-found-exception-tt22086106.html#a22086106, which I can't seem to post to this mailing list. I'll add your workaround

Re: Camel Routing based on bean return object

2009-02-27 Thread Markus Reil
Hi Andrew, what I do is set the target queue as a header field in the bean: from(queue).bean(customRouterBean).recipientList(HEADER_TARGET_ROUTE); I know it is not that elegant to use queue name in the bean but this was the quickest way for me to make it work. Hope it helps. Cheers, Markus --

File: using absolute file paths with moveExpressions

2009-02-27 Thread Joseph E. Gottman
I'm using the Camel 2.0 File component and I'm having trouble with the new moveExpression. I need to move my input file to an absolute directory, but the moveExpression always assumes that I've entered a directory that's relative to my current directory. Is there any way for me to force it to

Re: Restlet Component File Upload Handling

2009-02-27 Thread William Tam
Hi Todd, I don't think Restlet component supports FileUploader extension currently. As always, contribution is welcomed. Please submit a Jira (and perhaps, a patch) :-) Cheers, William On Fri, Feb 27, 2009 at 12:10 PM, tfredrich wrote: > > Does the Restlet component handle file uploading?

Re: NoClassDefFoundError for unrelated classes

2009-02-27 Thread skappel
Solution: do not use the apache-camel jar. Use camel-core and only the jars used in the application. These warning still appear: WARNING: Could not find class 'org/apache/activemq/camel/converter/InvokeJmsMessageListenerTest.class' WARNING: Could not find class 'org/apache/activemq/camel/convert

Restlet Component File Upload Handling

2009-02-27 Thread tfredrich
Does the Restlet component handle file uploading? I'm not sure how to configure a Restlet endpoint to use the Restlet FileUploader extension. Your help is MUCH appreciated. Thanks in advance, --Todd -- View this message in context: http://www.nabble.com/Restlet-Component-File-Upload-Handling-

Re: Restlet Component Fault Handling

2009-02-27 Thread William Tam
Hi Todd, I submitted a fix which is along the same line as your proposed change. I believe it should work in your case. Let me know it goes. Thanks. Cheers, William On Fri, Feb 27, 2009 at 10:48 AM, tfredrich wrote: > > A proposed change to DefaultRestletBinding is attached.  This patch wor

Re: Camel Routing based on bean return object

2009-02-27 Thread Claus Ibsen
On Fri, Feb 27, 2009 at 5:22 PM, ee7arh wrote: > > Hi, > > I'm getting quite into using the Camel DSL router and got quite far but now > have this situation: Welcome onboard the ride. > > I have a bean method (myBeanMethod1()) which returns not a boolean but a > real object (MyReturnObj1). This o

Camel Routing based on bean return object

2009-02-27 Thread ee7arh
Hi, I'm getting quite into using the Camel DSL router and got quite far but now have this situation: I have a bean method (myBeanMethod1()) which returns not a boolean but a real object (MyReturnObj1). This object contains an Enum return code (myReturnCode) and I want to do some routing based on

Re: Restlet Component Fault Handling

2009-02-27 Thread tfredrich
A proposed change to DefaultRestletBinding is attached. This patch worked great for me, enabling me to set the fault header and exception (without having to also set headers on the out message), and get the expected result in response. http://www.nabble.com/file/p22248469/DefaultRestletBinding.

Re: Camel-quartz

2009-02-27 Thread Claus Ibsen
On Fri, Feb 27, 2009 at 2:48 PM, gmagniez wrote: > > Hi, > The camel-quartz component replace the character "/" by " ", but how can i > use the "/" in the cron expression like from trigering something every five > minutes: 0/5? > I've found another thread about that problem but it was not resolved

Re: need CxfMEssage => w3c.Document converter

2009-02-27 Thread Willem Jiang
Hi, If you let the CXF endpoint work in POJO format, I don't think it is easy to turn the CxfMessage into a Document. Maybe you should try to use MESSAGE data formate (the message body is a instance of InputStream), camel'sXmlConverter can turn a InputStream into a Document. Willem mario_horny w

need CxfMEssage => w3c.Document converter

2009-02-27 Thread mario_horny
Hi all, I want to implement a custom processor that modifies a CxfMEssage routed in POJO format. How can I get the CxfMessage as a w3c Document ? Is there a converter available ? If so, could someone provide me a snipped that shows how this converter is registered (or made "ready to use") ?

Camel-quartz

2009-02-27 Thread gmagniez
Hi, The camel-quartz component replace the character "/" by " ", but how can i use the "/" in the cron expression like from trigering something every five minutes: 0/5? I've found another thread about that problem but it was not resolved. http://www.nabble.com/camel-quartz-cron-trigger-endpoint-ur

Re: @RecipientList and ProducerTemplate (Camel 1.6 and 1.5)

2009-02-27 Thread paquettd
Ok, good news I figured out what I should have been doing instead of a RecipientList! For giggles i was trying to route any message that had lower case letters in it (just playing around) So I finally discovered methodCall and simple. First i used methodCall to call a matches method that returns

Re: @RecipientList and ProducerTemplate (Camel 1.6 and 1.5)

2009-02-27 Thread paquettd
I still end up in the BeanProcessor using this technique and I get the same results As I said; the message DOES get routed to the recipient list; it's just the result the ultimately winds it way back is the recipient list itself. The more I think about it maybe that is the only behavior... a

Re: Integartion with Glassfish

2009-02-27 Thread Claus Ibsen
On Fri, Feb 27, 2009 at 10:49 AM, KiranBhagwat wrote: > > Hi > I need to integrate camel application with glassfish server. > > Please help. > > Do I need Glassfish ESB for this ? No Camel is an basically an API so its just a bunch of .jar files. So it can be embedded how you like it. So you can

Re: NoClassDefFoundError for unrelated classes

2009-02-27 Thread Claus Ibsen
Hi Ah yeah the uber .jar I forgot about that one. Imagine how big your classpath would be if you had to add all the .jars for all components they use :) On Fri, Feb 27, 2009 at 11:21 AM, James Strachan wrote: > 2009/2/27 skappel : >> The Timer or Quartz components and DSL as in: from(timer://foo

Re: NoClassDefFoundError for unrelated classes

2009-02-27 Thread James Strachan
2009/2/27 skappel : > The Timer or Quartz components and DSL as in: from(timer://foo?period=6) > appear to generate NoClassDefFoundError and ClassNotFound exceptions for > unrelated components, such as Scala, Mina, Http,etc.  There are also many > warnings with org.apache.camel.util.ResolverUti

Integartion with Glassfish

2009-02-27 Thread KiranBhagwat
Hi I need to integrate camel application with glassfish server. Please help. Do I need Glassfish ESB for this ? Thanks in advance. Kiran -- View this message in context: http://www.nabble.com/Integartion-with-Glassfish-tp22242532p22242532.html Sent from the Camel - Users (activemq) mailing