Re: Dynamic supplying of class to BindyCsvDataFormat

2016-10-26 Thread raghavender.anth...@gmail.com
Oh.. if this is the case then I feel it's a bit weird. Thanks for the quick reply. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-supplying-of-class-to-BindyCsvDataFormat-tp5789283p5789291.html Sent from the Camel - Users mailing list archive at Nabble.com.

Dynamic supplying of class to BindyCsvDataFormat

2016-10-26 Thread raghavender.anth...@gmail.com
Hello All, I would like to supply the class name dynamically to BindyCsvDataFormat? I will be setting this class name in some exchange property/ in header. I would like to read this value and set it to BindyCsvDataFormat during marshalling/unmarshalling. Can someone guide me how it can be done?

Re: AW: Dynamic routing based on collection values

2016-10-26 Thread raghavender.anth...@gmail.com
Thanks a ton everyone, I was able to achieve it by using split and by writing a custom bean/method. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789282.html Sent from the Camel - Users mailing list archive at

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Thanks a lot for the response. This seems like useful, I'll give out a try and will update you accordingly. Best, Raghavender Anthwar -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789179.html Sent from the Camel -

Re: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Thanks will tr the split method. Is there any example available on the web to split the collection? I searched but couldn't find much help. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789169.html Sent from the Camel -

Re: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
I've gone through the document of recipient list and seems it send the same copy of the message to all routes. I'm looking for sending each value of the map to a different router based on the key. Thank you. -- View this message in context:

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Basically I've the map that was mentioned in the post as input in the incoming message. And I wanted to iterate over each key of the map and send it as input to different endpoint based on the key value. Yes, it's kind of content based routing but the content is a collection here. -- View this

Re: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Thanks for the quick response but I don't see whether recipient list can iterate over the map and send each of the value to different endpoint. Can you point me to a specific example where the routing is done based on the collection values in the incoming message? Sorry, am a beginner to Camel

Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Hello All, Can someone help me with a solution for this problem: I want to route to different destinations based on the values that are present in the collection. For example, I've a map/any other collection with list of different values. I want to iterate over the collection and want to route

Re: Need help in processing comma seperated text file

2016-10-19 Thread raghavender.anth...@gmail.com
Thanks a lot for the response. Initially I thought of using BeanIO itself but my data format is not exactly delimited format. As per my understanding, to use BeanIO we should specify the format in the mapping xml. Since I've the below elements in my text file, am not sure which one to go with.

Re: Need help in processing comma seperated text file

2016-10-14 Thread raghavender.anth...@gmail.com
Can someone guide me on this? Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Need-help-in-processing-comma-seperated-text-file-tp5787930p5788783.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need help in processing comma seperated text file

2016-09-23 Thread raghavender.anth...@gmail.com
Am not sure whether I've understood your question correctly, am looking for an approach/solution that is efficient, quick with minimal code. Right now, I'm planning to do below steps: 1. Read the source file line by line 2. Process the data line by line and collect the data in several

Re: Need help in processing comma seperated text file

2016-09-23 Thread raghavender.anth...@gmail.com
Thanks Steve. I am sending you the source and target file formats as mentioned below. The source file can contain 100,000 - 10,00,000 records. *Source delimited text file:* [Runtime] Date=ASAP Time= AllowErrors=FALSE [Task.1] Server=Item Master Module=ItemPOSIdentity Operation=*addupdate*

Re: Need help in processing comma seperated text file

2016-09-22 Thread raghavender.anth...@gmail.com
Thanks for the response. I would like to use Camel to read the file, process it and generate a new CSV file to send it to a different system. I get this file from a different system X and I need to process and transform it to CSV file in a different format which can be understood by system Y. I

Need help in processing comma seperated text file

2016-09-22 Thread raghavender.anth...@gmail.com
Hello Experts, I'm a new bee to the Camel technology and have the following requirement. Can someone help me with how to go about it. *P.S. I've gone through CSV data format, BeanIO and Bindy implementations of Camel and felt that they can't accommodate my requirement, correct me if am wrong