Re: How to call CXF web service from Camel

2013-03-30 Thread abhi
I have created JAR file of web service project and added it in my Camel project build path and everything is working fine now. Thanks for your help -- View this message in context: http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-tp5729692p5730119.html Sent from the Came

Re: Camel routing issue

2013-03-30 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Sun, Mar 31, 2013 at 5:22 AM, prabumc...@gmail.com wrote: > Thanks Walzer.. > * > * > *Queston1: > > * > *Example* > > .when(header("foo").isEqualTo("bar")) > .to("direct:b") > > In my case i ha

Re: Camel routing issue

2013-03-30 Thread prabumc...@gmail.com
Thanks Walzer.. * * *Queston1: * *Example* .when(header("foo").isEqualTo("bar")) .to("direct:b") In my case i have to add more than 80 condition and forwards to 80 different queues. Above example i can only hard-code queue name,But what i want is below. * .when(header("Type

Re: Is there a DataFormat to convert XML string to XML Document?

2013-03-30 Thread Chris Wolf
Thanks - that's exactly what I needed. Although I'm wondering when you would select .convertBodyTo(Class) vs. a DataFormat? Thanks again, Chris On Fri, Mar 29, 2013 at 8:38 PM, Raul Kripalani wrote: > .convertBodyTo(Document.class) > > Leverages a feature of Camel called Type Conversion.

Re: Camel routing issue

2013-03-30 Thread Walzer, Thomas
Hi, you could start by reading Claus´ book (p. 44ff) which has a perfect example or http://camel.apache.org/content-based-router.html (just replace the direct: with your queues). If you need to fire your messages to multiple queues: http://camel.apache.org/publish-subscribe-channel.html shows y

Re: Camel routing issue

2013-03-30 Thread prabumc...@gmail.com
Hi Claus, Thanks so much Clus for help.It is working now. I need your guidance for the following requirement. 1.I have one *inbound queue* it will receive message frequently from my application. 2.From *inbound queue* i need camel routing to move message from another *message based inbound queue

spring-ws timeout question

2013-03-30 Thread Smith-John
Hi, I wanted to create a camel route with which it is possible to invoke various SOAP-WebServices. I ended up with following: from("direct:Invoke").recipientList(this.header("WSAddress")); and Document response = template.requestBodyAndHeader("direct:Invoke", request, "WSAddress", "spring-ws:"

Camel cannot store file !!

2013-03-30 Thread takidean
i want to send selected rows from a database to file this is my code http://camel.apache.org/schema/spring";> SELECT * FROM `user` WHERE 1 ${body}

Re: Camel routing issue

2013-03-30 Thread Claus Ibsen
Hi Do as the exception tells you. Check route 2. You route from "Inbound.SSS.TestEvent". And that is now know to Camel. Maybe you need to add "activemq:" as prefix so its "activemq:Inbound.SSS.TestEvent". On Fri, Mar 29, 2013 at 7:01 PM, prabumc...@gmail.com wrote: > > I have activemmq Projec

Re: in camel-example-cxf-proxy demo which in camel distribution, how EnrichBean.enrich method was called

2013-03-30 Thread Claus Ibsen
On Fri, Mar 29, 2013 at 10:47 AM, lost_in wrote: > hi all, > > I have post this issue on > http://camel.465427.n5.nabble.com/in-camel-example-cxf-proxy-demo-which-in-camel-distribution-how-EnrichBean-enrich-method-was-called-td5729745.html >

custom MDCUnitOfWork

2013-03-30 Thread samslara
Hello, I'm currently looking to implement logic very similar to MDCUnitOfWork, the main difference being putting custom values into the MDC. How would I go about doing this? -- View this message in context: http://camel.465427.n5.nabble.com/custom-MDCUnitOfWork-tp5730107.html Sent from the C

Re: endpoint without consumer

2013-03-30 Thread Christian Müller
You have to start your route before you send a message via the producer template. Sent from a mobile device Am 30.03.2013 08:41 schrieb "takidean" : > when i use to select some rows from a database i get one error and this is > my code: > > public static void main(String[] args) throws E

endpoint without consumer

2013-03-30 Thread takidean
when i use to select some rows from a database i get one error and this is my code: public static void main(String[] args) throws Exception { // TODO Auto-generated method stub //DataSource dd; DriverManagerDataSource db = new DriverManage