RE: Camel supported servicemix version

2018-08-26 Thread Ls, Deepthi (Nokia - IN/Bangalore)
Hi, Sorry for mis communication. We are using the camel version that is coming as part of service mix vesion 3.4.0 i.e CXF 2.4.4 and Camel 2.8.3. Does it mean that CXF 2.4.4 and Camel 2.8.3 does not support developing REST services ? Regards, Deepthi -Original Message- From: Claus

Camel supported servicemix version

2018-08-26 Thread Ls, Deepthi (Nokia - IN/Bangalore)
. Thanks and Regards, Deepthi

Re: Invoke camel end point

2012-08-09 Thread Deepthi
Hi Michal, how can I invoke it as end point so that entire route gets executed? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Invoke-camel-end-point-tp5717085p5717089.html Sent from the Camel - Users mailing list archive at Nabble.com.

Grouping of xml and count of each

2012-08-09 Thread Deepthi
rying to achieve it in the following manner: /order/item /item/id/text() count(/item) The above approach is not working. Can I use aggregator, if so how? Thanks, De

Invoke camel end point

2012-08-09 Thread Deepthi
service 2 and web service 3. Is this possible? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Invoke-camel-end-point-tp5717085.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to set parameter dynamically in uri

2012-08-08 Thread Deepthi
Thanks Michal. This works. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-parameter-dynamically-in-uri-tp5716959p5717001.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Node count in camel

2012-08-08 Thread Deepthi
Thanks Michal. This works. -- View this message in context: http://camel.465427.n5.nabble.com/Node-count-in-camel-tp5716946p5716999.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to set parameter dynamically in uri

2012-08-07 Thread Deepthi
Hi, I am trying to set parameter dynamically in uri in the following manner: /order/item/id http://localhost:9002/rest/{id}/RestService"; />

Re: Node count in camel

2012-08-07 Thread Deepthi
Hi Michal, I am trying to give in the following manner: count(/order/item) It is not working. Where am i going wrong? -- View this message in context: http://camel.465427.n5.nabble.com/Node-count-in-camel-tp5716946p5716958.html Sent from the Camel - Users mailing list archive at Nabble.co

Node count in camel

2012-08-07 Thread Deepthi
Hi, Is there a way to find number of nodes in a given xml in camel using spring. For Eg: We have the following xml: 1 2 3 I want to know the number of item tags in order tag and store it in header name say itemCount. I am using camel 2.8.0 Is this possible? Thanks, Deepthi -- View

Re: Setting url {params} in REST call with Camel

2012-08-06 Thread Deepthi
"; /> Where am i going wrong? I see the test case executed in the same manner. Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Setting-url-params-in-REST-call-with-Camel-tp2257861p5716890.html Sent from the Camel - Users mailing list

Re: How to achieve both xpath and aggregator

2012-06-28 Thread Deepthi
Hi Claus, I still get the same exception. Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/How-to-achieve-both-xpath-and-aggregator-tp5714691p5715229.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to achieve both xpath and aggregator

2012-06-27 Thread Deepthi
Hi Claus, I have changed it as suggested by you: /orders/order/@id It says invalid correlation key for all the input files. I can set ignoreInvalidCorrelationKeys to true but it just skips all the files.

Re: How to achieve both xpath and aggregator

2012-06-22 Thread Deepthi
Hi, I am trying to aggregate in the following manner: /order/id I am using camel 2.8.0. The above route throws me an exception "Definition has no children on Aggregate". Where am I going wrong? Any help is appreciated. Thank

How to achieve both xpath and aggregator

2012-06-19 Thread Deepthi
1 XXX XML 2: 2 XXX How can i achieve this? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/How-to-achieve-both-xpath-and-aggregator-tp5714691.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue with queue for parallel processing

2012-06-08 Thread Deepthi
Using concurrentConsumers option has solved the problem. If after consuming the message, one of the process/thread gets stuck, can I mention the maximum time to keep that particular process/thread alive? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Issue

Re: Issue with queue for parallel processing

2012-06-07 Thread Deepthi
I am using camel 2.8.0. I will not be able to use 2.9.0 due to some reasons. How can i achieve the same in 2.8.0? -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-queue-for-parallel-processing-tp5714137p5714140.html Sent from the Camel - Users mailing list archive at

Issue with queue for parallel processing

2012-06-07 Thread Deepthi
Hi, If I give the route as: The above route reads a file from source generates a thread and invokes web service. Even if 1 thread gets blocked, the remaining threads get executed. But, if i change the source to queue as below: If 1 thread gets blocked, the route is not reading the next m

Re: Difference between splitter and custom thread

2012-06-07 Thread Deepthi
:). I meant the purpose both are fetching. -- View this message in context: http://camel.465427.n5.nabble.com/Difference-between-splitter-and-custom-thread-tp5714098p5714130.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Generate a thread for each db record

2012-06-06 Thread Deepthi
Thanks Claus. This works. I have another question. When I use the split and parallel processing as true, can i control the number of threads to be processed simultaneously. If the split EIP doesnt support it, should I use multi-threading? Thanks, Deepthi -- View this message in context: http

Generate a thread for each db record

2012-06-06 Thread Deepthi
logic in the bean to retrieve the records, can i generate 1 thread for each record in the bean? Else what is the way to implement it? Claus - As you replied in previous thread, I am unable to understand how splitter can be used as I cannot give sql query as my source. Thanks, Deepthi -- View

Re: Help with setting multiple parameters with SQL

2012-06-05 Thread Deepthi
If i want to generate 1 thread for each of the row retrieved by executing select statement, using quartz will not help me rite? How can I implement it? -- View this message in context: http://camel.465427.n5.nabble.com/Help-with-setting-multiple-parameters-with-SQL-tp5714000p5714033.html Sent fr

Re: Help with setting multiple parameters with SQL

2012-06-05 Thread Deepthi
Hi Claus, Can we give sql statement as source also. For Eg: does camel 2.8.0 support this? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Help-with-setting-multiple-parameters-with-SQL-tp5714000p5714025.html Sent from the Camel - Users mailing list archive

Re: Message selector example

2012-06-04 Thread Deepthi
Its working. Changed exchange.getIn().setHeader("country", "US"); to exchange.getOut().setHeader("country", "US"); Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5713959.html

Re: Message selector example

2012-05-31 Thread Deepthi
In my bean I am setting the header as follows: exchange.getIn().setHeader("country", "US"); i am trying to filter the message using selector in following manner: I do not receive any message at all. Where am i going wrong here? -- View this message in context: http://camel.465427.n5.nabble.c

Re: Message selector example

2012-05-31 Thread Deepthi
Hi Sully, I did go through the link. Can I find an example somewhere which I can refer to how i use selectors and how do i compare the values etc. Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5713808.html Sent from the

Message selector example

2012-05-31 Thread Deepthi
Hi, Can somebody please provide me with message selector example? Also can somebody provide an example how to name the headers while publishing the message on the queue and how to read that message using selector and header while consuming asap. Thanks, Deepthi -- View this message in context

Re: Dynamically read messages from Active Mq

2012-05-30 Thread Deepthi
, server3 instance to pick only msg3 , server4 instance should pick msg4 and msg5. How can I achieve this? Basically how can i achieve message broker? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Dynamically-read-messages-from-Active-Mq-tp5713746p5713751

Dynamically read messages from Active Mq

2012-05-30 Thread Deepthi
there any examples which I can refer to? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Dynamically-read-messages-from-Active-Mq-tp5713746.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXF webservice asyn

2012-05-10 Thread Deepthi
Hi Willem, Dint quiet understand what you meant by this: /"Current camel-cxfrs supports the async out of box. Please check the code of CxfRsInvoker, it leverages the continuation to invoke the async processors"/ Can you provide me with example or any pointers which give me more information on t

Unable to delete file when invoking cxf-rs as end point

2012-05-09 Thread Deepthi
Hi, I am trying to execute the below code in camel 2.8.0 http://localhost:9002/REST-Webservice/rest/AsnProcessorRestService"/> The files are not getting deleted from source folder and it is processing the same file again and again. How can i avoid it? -- View this message in context

Re: Split large xml into small xml using camel 2.8.0

2012-05-09 Thread Deepthi
Yea... but I will not be able to use 2.9.0 Is there a way I can do it in 2.8? -- View this message in context: http://camel.465427.n5.nabble.com/Split-large-xml-into-small-xml-using-camel-2-8-0-tp5698075p5698259.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXF webservice asyn

2012-05-09 Thread Deepthi
Also if change the route to from ftp to cxfrs multi-threading is not working. Why is it so? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/CXF-webservice-asyn-tp5695918p5698016.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXF webservice asyn

2012-05-09 Thread Deepthi
Hi Claus, I am trying to implement Threads EIP in the following manner: http://localhost:9002/REST-Webservice/rest/RESTService"; /> The control is going till webservice but it is not entering the bean. How can i achieve the above using threads. Am I doing anything wrong?

Re: CXF webservice asyn

2012-05-08 Thread Deepthi
Hi Yogesh, Thanks for ur response. Yes, I am looking for a thread pool for from point as well. Appreciate your help Thanks -- View this message in context: http://camel.465427.n5.nabble.com/CXF-webservice-asyn-tp5695918p5696434.html Sent from the Camel - Users mailing list archive at Nabble.com

CXF webservice asyn

2012-05-08 Thread Deepthi
Hi, I am exposing a Restful webservice and in the same camel context file I am consuming it. In my route, I am reading files from my local folder (data in the file is the request for webservice) and the destination is webservice. After I read a file from source and invoke the webservice, I want a

Does camel create locks on UNIX when we read the files through FTP

2012-04-27 Thread Deepthi
Can we give multiple routes consuming from same ftp point. If yes, does the camel create lock on the file when it reads the file. The source from which it reads the files is unix server. -- View this message in context: http://camel.465427.n5.nabble.com/Does-camel-create-locks-on-UNIX-when-we-re

How to achieve multi-threading within a route

2012-04-26 Thread Deepthi
Hi, I am trying to read files from 1 server through FTP, process the files and FTP it to another server. How can i achieve multi-threading within a route. If i have 50 files in the source server, I want 50 threads to be running simultaneously, read the files and process all the files simultaneous