Re: Camel: Dynamic routing based on XML File ?

2009-10-22 Thread Claus Ibsen
Hi Can you write more details as its not clear to me what you want? Camel can certainly consume a message (1), extract a header (2) using xpath for example And then in (3) why do you mean exactly? And put a value in a header (4) on the message. On Wed, Oct 21, 2009 at 4:12 PM, titexe wrote: >

Re: Camel: Dynamic routing based on XML File ?

2009-10-22 Thread titexe
Thank you for your response, I receive messsage with this format - Header - Message Properties (Partner = PARIS) - Body I want to verify if PARIS exist in my XML file (c;\test.xml), 1- if OK i must route this message to queue PARIS, 2- if not i must route this message to queue error. Thank you

Re: Camel: Dynamic routing based on XML File ?

2009-10-22 Thread Claus Ibsen
On Thu, Oct 22, 2009 at 10:21 AM, titexe wrote: > > Thank you for your response, > > I receive messsage with this format > - Header > - Message Properties (Partner = PARIS) > - Body > > I want to verify if PARIS exist in my XML file (c;\test.xml), > > 1- if OK i must route this message to queue PA

Re: Camel: Dynamic routing based on XML File ?

2009-10-22 Thread titexe
Thank you for your reply Here is the configuration XML that,what do you think? it is a good way to develop this camel route? /$Partner = $Partner

Re: Camel: Dynamic routing based on XML File ?

2009-10-22 Thread Claus Ibsen
On Thu, Oct 22, 2009 at 11:04 AM, titexe wrote: > > Thank you for your reply > > Here is the configuration XML that,what do you think? it is a good way to > develop this camel route? > > >         >                 >                 >             >                                /$Partner = $Part

Re: How to save a select result from camel-sql componnent to xml ( No type converter available to convert from type: java.util.ArrayList issue )

2009-10-22 Thread Claus Ibsen
Hi Long post :) Camel is not going into the ORM world. That is left for Hibernate, JPA, iBatis (is a sql mapper) etc. Camel adheres much to the NIH principle and instead leverage the best of bread frameworks. For SQL stuff the camel SQL component is a very simple component for executing queries

Re: Camel Upgrade: Spring Integration

2009-10-22 Thread sub3
Thanks. Grabbing that file worked. I don't have that file anywhere within the downloaded apache-camel-2.0.0.zip; Do you know if there is anything else I need that isn't included in the zip file? Thanks. willem.jiang wrote: > > Can you check your class path if it has the > org.springframewor.in

Re: Camel assertion error

2009-10-22 Thread Charles Moulliard
The result.expectedBodiesReceived( generateModel().toString() ); was working There was a stupid "." character instead of a " " in the expected string. So forget my question Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliar

Re: Camel Upgrade: Spring Integration

2009-10-22 Thread Willem Jiang
As you know camel has more than 70s components, and each component has lots of third part dependent files. There could be hundreds of third part files. So we don't ship the third part file which isn't used by camel-core in the distribution kit to keep it small. BTW, if you are using maven, it

Re: camel-velocity and #parse() question

2009-10-22 Thread Monica_G
Hello Willem, Thank you for your reply and looking into the issue. I just wanted to clarify that I'm not certain that passing in the Properties config file will solve my ResourceNotFoundException. I think it may be the way to go, but I don't know for sure. Thanks, Monica -- View this messa

Announcing Camel in Action

2009-10-22 Thread Claus Ibsen
Hi It seems like a long time since Hadrian got the ball rolling which I am now happy to be able to announce officially. Apache Camel is another great project which takes the next step and has a book being published. That is why I am proud to part of that with my two co authors: Hadrian and Jonat

Re: Announcing Camel in Action

2009-10-22 Thread Mick Knutson
Congrats Claus Really awesome work! I am already recommending the book to all my colleagues... --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.c

Dynamic uri in uri, derived from uri

2009-10-22 Thread chris.pond
I'm trying to take JMS messages inside the ActiveMQ broker from a topic pattern, say "messages.*", and map them to a corresponding JMS queue, say "queue.${from.topic}" (where ${from.topic} is the topic of the JMS message). I can't seem to find an easy way to do this. Am I missing something? I'm lo