Re: Camel usage in Online usecases

2012-08-09 Thread michal.warecki
Look at S. England-Sullivan's post on http://camel.465427.n5.nabble.com/fyi-SI-td5716049.html . There are performance tests with Camel+JMS and Camel+Simple JMS. With proper configuration Camel+JMS overhead (JMS is quite heavy protocol) is from 1367ms to 424ms for 1000 msgs, so 100 msgs/s is not a p

Re: Sending to remote WMQ queue.

2012-08-09 Thread Caa_man
We use transmissions queues, not remote. I.e. we dynamically build remote addresses. Could you help me? -- View this message in context: http://camel.465427.n5.nabble.com/Sending-to-remote-WMQ-queue-tp5717052p5717112.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel - ActiveMQ communication failes in Tomcat

2012-08-09 Thread Willem jiang
You can use the mvn dependency:tree to trace the third part jar dependency. -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.jav

Re: Camel - ActiveMQ communication failes in Tomcat

2012-08-09 Thread Gnanaguru S
Jiang, Sorry I missed to ask this. Will the jetty-maven-plugin is downloading jetty-web ? I can remove it and try it out. Regards Guru @gnanagurus -- View this message in context: http://camel.465427.n5.nabble.com/Camel-ActiveMQ-communication-failes-in-Tomcat-tp5716976p5717111.html Sent fr

Re: Camel - ActiveMQ communication failes in Tomcat

2012-08-09 Thread Gnanaguru S
Jiang, I am not specifying about jetty anywhere in my pom file. But I was not able to trace why this is getting into picture? Do anyother dependency uses it implicitly. This is my pom file. Dependencies doesn't have jetty-web dependency specified. Or any of my plugin downloading it. http:

Re: way to convert multiple csv files to single xml file

2012-08-09 Thread Matheen
Hi yogesh thanks for reply. my scenario is there are two csv files order.csv and order_line.csv available at a time,now i have to convert them in to xml format. the data in xml file should be in the below format data ... .. data thanks -- View this message in context: http://ca

Re: FTP with 2 files in transaction mode

2012-08-09 Thread Willem jiang
You can implement a GenericFileProcessStrategy[1] to delete the .xml and img if these two files are processed. [1]http://camel.apache.org/file2.html#File2-UsingGenericFileProcessStrategy -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willem

Re: Camel - ActiveMQ communication failes in Tomcat

2012-08-09 Thread Willem jiang
For the Question2, It looks you excluded some jetty related jar which is needed for the camel-jetty. If you don't need to use camel-jetty, you can just exclude it. -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (htt

Camel Aries Blueprint dependency needs to be changed from 0.3 to 1.0.0 for Karaf 3

2012-08-09 Thread Sriraman Gopalan
Dear All, I understand that the current dependency on Aries Blueprint in Camel is 0.3. However, with the Karaf 3 release in progress and Karaf has upgraded Aries Blueprint from 0.3 to 1.0.0, a small refactoring on the camel side to support Karaf 3 deployment would be appreciated. best regards Sri

Re: Camel usage in Online usecases

2012-08-09 Thread Karthikeyan Muthukumarasamy
Hi Michal, Thanks for your response. >>> Do you need low latency? What are your SLA for avg and max response time? 100 queries/sec with max. latency of 1 sec >>> For what perposes you plan to use Camel? To unify transport layer configuration? Do you plan to rewrite your integration architecture t

Re: Invoke camel end point

2012-08-09 Thread Willem jiang
You can use Camel ProducerTemplate[1] or a normal Web Service client to send request to url of Web Service. -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http:/

Re: Camel CXF: In-VM

2012-08-09 Thread objectorange
Thanks Raul, I have that working...and we can use CXF when we want to expose that class as a web service over HTTP and JMS. BTW, how do you get access to the instance of CamelContext when using the XPathBuilder described on this page: http://camel.apache.org/xpath.html -- View this message in co

Re: way to convert multiple csv files to single xml file

2012-08-09 Thread ychawla
Here is an example method to aggregate: @SuppressWarnings("unchecked") public void aggregateGroupMessages(Exchange groupedExchange) { List grouped = groupedExchange.getProperty(Exchange.GROUPED_EXCHANGE, List.class); for (Exchange ex

Re: way to convert multiple csv files to single xml file

2012-08-09 Thread ychawla
Hi Matheen, Can you explain your problem a little more? Are all the files going to be available at the same time? Do you know how many files you need to aggregate? For example, in pseudo code: do all your bindy processing here but send to aggregator rather than 'fi

Re: Camel CXF: In-VM

2012-08-09 Thread objectorange
I looked into Camel:Bean but all of the examples show RPC-like method calls with String as the parameters. Does it support Object parameters? How would JAXB be used or would we have to parse incoming XML ourselves in the service implementation? -- View this message in context: http://camel.4654

Re: Camel usage in Online usecases

2012-08-09 Thread michal.warecki
It is about 60 msg per sec in average so it is not the problem. Like other frameworks Camel has some overhead. Do you need low latency? What are your SLA for avg and max response time? For what perposes you plan to use Camel? To unify transport layer configuration? Do you plan to rewrite your integ

Re: Grouping of xml and count of each

2012-08-09 Thread Raul Kripalani
Splitting and aggregating is designed for routing and orchestration purposes, rather than low-level data processing. You are better off using XSLT for this use case. Take a look at this example [1] for an XSL template that does grouping and counting. Use an XSLT endpoint [2] in Camel with camel-

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.

Re: Invoke camel end point

2012-08-09 Thread michal.warecki
Yes, the same way as you wrote. -- View this message in context: http://camel.465427.n5.nabble.com/Invoke-camel-end-point-tp5717085p5717087.html Sent from the Camel - Users mailing list archive at Nabble.com.

Grouping of xml and count of each

2012-08-09 Thread Deepthi
Hi, i am trying to group xml's with same id and count the number of items in each group. I am using camel 2.8.0 For Eg: Input xml: 1 test item 1 2 test item 1 1 test item 1 3 test item 1 I am trying

Invoke camel end point

2012-08-09 Thread Deepthi
Hi, I need to invoke camel end point and the entire route needs to get executed. how can i achieve this? For eg: If I invoke web service 1 uri as camel end point (or any other way), the entire route needs to get executed and I should be able to capture the aggregated response of web serv

Re: Camel CXF: In-VM

2012-08-09 Thread Raul Kripalani
Have you considered using OSGi services instead? In case you haven't heard of them, they are: 1) Simple POJOs which contain your business logic, 2) exposed inside your container (in-VM) for direct method-to-method invocations, 3) can be looked up dynamically in the OSGi Service Registry, 4) you ca

Re: Character set issue with File Consumer & FTP Publication

2012-08-09 Thread pglebow
It looks like the files are only available on Nabble. The name of the file was "test.csv" and it contained one line of text: "This is a test text file.". Phil On Thu, Aug 9, 2012 at 8:33 AM, Philip Glebow wrote: > Hi Raul, > > I've attached the test file that I used as well as the log from th

Re: Camel-freemarker deletes Attachments from Exchange

2012-08-09 Thread Vincent Nonnenmacher
could you post your route code ? On Thu, Aug 9, 2012 at 5:38 PM, Laurentiu Trica wrote: > Hello, > > I have a problem with Camel 2.6 when a camel-freemarker deletes the > attachments from the Exchange. Is this a known issue? Can I overcome it? > > Many thanks! > > Best regards, > Laurentiu Tri

Camel-freemarker deletes Attachments from Exchange

2012-08-09 Thread Laurentiu Trica
Hello, I have a problem with Camel 2.6 when a camel-freemarker deletes the attachments from the Exchange. Is this a known issue? Can I overcome it? Many thanks! Best regards, Laurentiu Trica

Re: Character set issue with File Consumer & FTP Publication

2012-08-09 Thread pglebow
Hi Raul, I've attached the test file that I used as well as the log from the test in my prior message. I pasted the exception as well in case you have difficulty with the attachments. This is a 2.10 problem - I ran the exact same test with 2.9.1 and both routes in the test succeeded. What c

Re: way to convert multiple csv files to single xml file

2012-08-09 Thread Matheen
hi willem, thanks for your reply. i have gone through that aggregate concept,still i am unable to resolve my problem. can anyone help me with sample example thanks in adavance -- View this message in context: http://camel.465427.n5.nabble.com/way-to-convert-multiple-csv-files-to-single-xml

Re: Camel CXF: In-VM

2012-08-09 Thread objectorange
forgot to add...these cxf services need to be easily configured to be exposed by wire protocols in addition to the local address. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-In-VM-tp5716772p5717075.html Sent from the Camel - Users mailing list archive at Nabble.

Re: Camel CXF: In-VM

2012-08-09 Thread objectorange
Thanks William, but I don't see from that URL how to set up a local in-vm address. Here's CXF's URL (non-camel) on it: http://cxf.apache.org/docs/local-transport.html I just don't see how to get that to work as a CXF Endpoint. I basically want to use the CXF framework with our services using Camel

Re: Camel usage in Online usecases

2012-08-09 Thread Karthikeyan Muthukumarasamy
Hi, Oops! Sorry that was a typo. Its 5 million records/day and not /sec. MK On Thu, Aug 9, 2012 at 4:29 PM, Joe San wrote: > *In the data ingest side, we will have around 5 million records/sec > traffic* > > Are you serious with your above statement? How big is that data record. Are > you usin

Re: Camel CXF: In-VM

2012-08-09 Thread objectorange
I currently need for this service to be called only within the same vm. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-In-VM-tp5716772p5717071.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel - ActiveMQ communication failes in Tomcat

2012-08-09 Thread Joe San
1. How to avoid repetition, I need to tell something to the pom ? Answer: provided will instruct maven to not include the dependency in your war file. Regards, Jothi On Thu, Aug 9, 2012 at 11:02 AM, Gnanaguru S < gnanaguru.sattanat...@wipro.com> wrote: > > Hi Jiang, > > Thanks. I checked it, ser

Re: Sending to remote WMQ queue.

2012-08-09 Thread James Carman
We set up remote queues in WMQ and just send messages to the local side of the remote queue and let WMQ do the rest. Would that work for you? On Thu, Aug 9, 2012 at 3:45 AM, Caa_man wrote: > Hello! > > I`d like to send message to the remote queue. > > I have component (that is local manager): >

Re: Camel usage in Online usecases

2012-08-09 Thread Joe San
*In the data ingest side, we will have around 5 million records/sec traffic* Are you serious with your above statement? How big is that data record. Are you using Super Computing? I've never seen a system that can handle this. Regards, Jothi On Thu, Aug 9, 2012 at 12:36 PM, mk wrote: > Hi, > I

Re: Character set issue with File Consumer & FTP Publication

2012-08-09 Thread Raul Kripalani
What's the name of the file and what exception do you see? Regards, *Raúl Kripalani* *Principal Consultant | FuseSource Corp. r...@fusesource.com | fusesource.com skype: raul.fuse | twitter: @raulvk , @fusenews *

Re: XProc support in Camel

2012-08-09 Thread Raul Kripalani
Hi, I'm working on a camel-xproc component, targeting the Camel 2.11 release. Currently the code is in "draft mode" but I plan on sharing it on GitHub at some point during ongoing development and before it's committed into ASF. Cross-posting onto camel-dev to make sure folks there are aware too!

Camel usage in Online usecases

2012-08-09 Thread mk
Hi, In our product, we have the following requirements: 1) In the data ingest side, we will have around 5 million records/sec traffic. These CDR records could come to us in various transports including file, JMS, XML over HTTP etc. This data has to be received and written into HBase 2) In the outpu

RE: Connection pooling with camel-amqp

2012-08-09 Thread Zhemzhitsky Sergey
Hi Lars, >> I have added a comment to QPID-3760. Thanks a lot. Best Regards, Sergey Zhemzhitsky -Original Message- From: helander [mailto:leh...@gmail.com] Sent: Thursday, August 09, 2012 11:35 AM To: users@camel.apache.org Subject: Re: Connection pooling with camel-amqp Sergey, I h

Re: Camel - ActiveMQ communication failes in Tomcat

2012-08-09 Thread Gnanaguru S
Hi Jiang, Thanks. I checked it, servlet-api jar was repeated with different versions. I removed one from the war. Now the flow works fine. I have two questions 1. How to avoid repetition, I need to tell something to the pom ? 2. I have another error traced, Even thought the camel flow is work

Re: pollInterval for custom Component

2012-08-09 Thread Henryk Konsek
Hi Sean, > I think I saw how I can control the pollInterval for HttpComponents, > but how do I control it on a POJO Component? You can create custom Pooling consumer by extending the ScheduledPollConsumer [1] class. In such case you can override poll() method in your custom consumer to provide th

Re: way to convert multiple csv files to single xml file

2012-08-09 Thread Willem jiang
Did you have a look at the Aggregator[1]? I think it can resolve the issue that you meet. [1]http://camel.apache.org/aggregator.html -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)

FTP with 2 files in transaction mode

2012-08-09 Thread piyushbhatt
Hi, We have a requirement where we have a set of 2 files which should be pushed in an order and also either both should go or none should go. The file names are same except the .xml or .img in the end. We have deployed Camel as a windows service. We have implemented a custom file processing strat

Sending to remote WMQ queue.

2012-08-09 Thread Caa_man
Hello! I`d like to send message to the remote queue. I have component (that is local manager): and send message using transport string like this: "wmq:queu

way to convert multiple csv files to single xml file

2012-08-09 Thread Matheen
Hi All, i am trying my hands on camel where i have to fetch some csv files from a file system and needs to convert it to xml format and place it on some other system here is my sample code package com.softedge.camel.java.xtof; import org.apache.camel.CamelContext; import org.apache.camel.Rou

Re: Connection pooling with camel-amqp

2012-08-09 Thread helander
Sergey, I have added a comment to QPID-3760. As for your list (thank you btw): 1) tcp_nodelay is default (since 0.14) OK 2) no transacted session OK 3) non-persistent messages OK 4) cachingLevel = 3 OK 5) cachingLevel = 3