Re: How map the SQL query values in to XML Payload?

2013-01-07 Thread Christian Müller
You receive the database content as list/map. Than you can use a bean or processor to transfom it to everything you need. E. g. to a JAXB bean and than marshall [1] it to xml. You don't have to use xslt. [1] http://camel.apache.org/jaxb.html Best, Christian On Mon, Jan 7, 2013 at 11:43 AM, sprab

Re: Sclaing camel

2013-01-07 Thread Christian Müller
No. Best, Christian On Mon, Jan 7, 2013 at 11:46 AM, kiranreddykasa wrote: > Hi > > As camel running in the web container itself , it's performance won't be > reduced?? > > Because it has to serve web requests also!! > > > > > > - > Regards > > kiran Reddy > -- > View this message in context

Transactional aggregator

2013-01-07 Thread orz
Hi, I am trying to aggregate messages from a queue, and then sending out the batched message to a http endpoint. I am using the transaction client but it seems that although I see the rollback message in my test, the messages do not retain in the queue. I want to ask if it is possible. If it sho

little issue with ActiveMQ Consumer having prefetch set to 0 (polling)

2013-01-07 Thread Marco Crivellaro
Hi All, I am looking into a small issue I am facing when using ActiveMQ consumer (Camel route, standalone application) configured to poll messages (ActiveMQ connectionstring parameter jms.prefetchPolicy.queuePrefetch=0) current setup involves 450 consumers which are restarted by a cron (not all at

Re: Camel route from testting

2013-01-07 Thread Claus Ibsen
On Mon, Jan 7, 2013 at 6:48 AM, dhruv.sachdeva wrote: > Hi > > I need to write unit test cases for some camel routes using (Version 1.6) > > Can anyone please suggest if it is possible to mock components(processor and > idempotentConsumer) inside the route? If yes, please suggest the approach. > >

Re: How map the SQL query values in to XML Payload?

2013-01-07 Thread sprabu
Hi, Already i'm doing message transformation by using xslt. I don't know how i fetch the DB values and bring it to xsl transformation. Any way or idea... -- View this message in context: http://camel.465427.n5.nabble.com/How-map-the-SQL-query-values-in-to-XML-Payload-tp5724584p5725043.html

Re: How map the SQL query values in to XML Payload?

2013-01-07 Thread sprabu
Is it possible to bring the DB values in to XSL ??? If so, can you please tell me how? Many Thanks in Advance. -- View this message in context: http://camel.465427.n5.nabble.com/How-map-the-SQL-query-values-in-to-XML-Payload-tp5724584p5725044.html Sent from the Camel - Users mailing list arch

Re: Camel route from testting

2013-01-07 Thread Christian Müller
I don't think it's possible without touching your existing route or repeat the route definition. If you use Spring, you can switch the implementation for your tests by providing a test application context. But you need some little changes in you route (use a bean instance instead of a class instanc

Re: Sclaing camel

2013-01-07 Thread kiranreddykasa
Hi As camel running in the web container itself , it's performance won't be reduced?? Because it has to serve web requests also!! - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/Sclaing-camel-tp5724876p5725045.html Sent from the Camel - Users ma