"; />
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
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
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
Hi,
I am trying to set parameter dynamically in uri in the following manner:
/order/item/id
http://localhost:9002/rest/{id}/RestService"; />
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.
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.
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.
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
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.
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
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
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
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
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?
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.
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.
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
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
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.
, 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
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
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
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
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
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
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
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
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
:). 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.
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
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
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
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.
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
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.
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.
.
Thanks and Regards,
Deepthi
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
38 matches
Mail list logo