camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abdes <aelabba...@gmail.com>
Subject dynamic sql request
Date Thu, 06 Aug 2009 17:09:15 GMT

Hi,
i have diffficult to pass parameter from exchange content to SQL request :
here my code :

exchange content :
<Listes>
<Liste>
  <id>123456</id>
</Liste>
<Liste>
  <id>123456</id>
</Liste>
<Listes>


from("jms:q_in")
.enrich("direct:resource", new ExampleAggregationStrategy())
.to("direct:result");
			
		
		
from("direct:resource")
.setBody(constant("SELECT * FROM v_test WHERE indv =XXXX"))

That i want, is to pass <Listes><Liste><id>  value to indv parameter.
How can i process ?

Regards


-- 
View this message in context: http://www.nabble.com/dynamic-sql-request-tp24850692p24850692.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message