Re: mybatis, velocity and html response

2013-06-03 Thread Conneen Michael
Christoph (et all) Thanks much.. OK.. I did get further.. I had a few errors.. 1. My SQLMapConfig.xml file was not there.. as when I use POJOs I usually name it differently and then use code to look it up. I did see the reference to "If the file is located in another location, you will nee

Re: mybatis, velocity and html response

2013-06-03 Thread Conneen Michael
Wow.. a PROACTIVE user forum.. I LOVE IT.. I have not had the chance to dig into that.. Thank you for the reference.. as well as the onConsume.. I plan on looking at both later today. You guys ROCK! (that's a good thing in case there is any language differences on the list.. ;) Kind Regard

Re: mybatis, velocity and html response

2013-06-03 Thread Christoph Emmersberger
Hi Michael, any luck with taking a look at the producer template. As far as I can observe your routes, everything looks OK, except that it is still only partial and not bound together. You can always execute myBatis from a Processor within your route, I mean trigger your existing code base fro

Re: mybatis, velocity and html response

2013-06-03 Thread Conneen Michael
Christoph (et all), Thanks for the reply... I apologize for not being clear.. I know that is important for effective use of everyones time. Here is the use case.. User http posts a form to servlet (camel servlet I have this working via the camel tomcat example as starting point..

Re: mybatis, velocity and html response

2013-06-03 Thread Christoph Emmersberger
Hi Michael, let me try to ask some questions: A: Are you executing this example as unit test? If so, why don't you apply the ProducerTemplate and simply pass the list when executing the sendBody() operation? B: We'll, ... you probably need to send it somewhere via the to() statement, e.g. to t

mybatis, velocity and html response

2013-06-02 Thread Conneen Michael
Folks, I suspect I am a stones throw away from the "ah ha" moment.. but I cannot seem to get there.. I am a newbie so I purchased and downloaded the Camel In Action ebook... Great overview and has gotten me this far.. I do have "some" of the individual pieces working.. I just cannot figure