Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Jay Walters
I am trying to understand if it is feasible to configure routes and things at runtime from Java rather than having to deploy a bunch of fixed xml files for spring configuration. I can work through simple examples easy enough (say sending data through activeMQ) but am having some problem with th

Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Hadrian Zbarcea
Do you have any stack trace? Did you setup the jpa persistence layer properly? That's the bit that is mandatory and in our example is done via spring (iirc). Hadrian On 11/19/2012 02:03 PM, Jay Walters wrote: I am trying to understand if it is feasible to configure routes and things at runti

Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Henryk Konsek
Hi Jay, > I don't get any exceptions either which is sort of odd. If you set your logger level to DEBUG, you will see if the routes you're interested in are started or not. You will also get details information about routing of each message. If magic still happens and logs can't tell you why, th

Re: Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Jay Walters
No I stubbed out the jpa stuff. Is it documented what needs to be done, or do I just decode the spring xml ( I can do that, just not my first choice). I will poke around for one of the other examples to have the jpa bit and see if I can work it out. Thanks On 11/19/12, Hadrian Zbarcea wr