How to increase the performance for SFTP file polling consumer

2017-01-09 Thread ravishankarhassain
I am trying to create a file polling route which will poll the source SFTP server and transfer the file to the destination SFTP server. The file count is huge and the source can generate upto 270 - 300 files per second where as the file size is in KB. I am planing to have 3 instance (say A, B, C)

How to reload camel context automatically in openshift 3.x using fis-java

2016-06-10 Thread ravishankarhassain
Hi All, I have previous experience in Apache Camel and JBoss Fuse and I am new to Openshift version 3.x I am trying to deploy a camel application which is developed using java dsl and spring DI. I am using an external properties file to load the consumer and producer endpoint in camel.In JBoss F

Zookeeper RoutePolicy implementation in File endpoint

2016-03-04 Thread ravishankarhassain
Basically I am trying to achieve load balancing in consuming files using file endpoint. I have gone through some use case which uses zookeeper route policy to control the master election of camel routes. I am planning to apply this zookeperRoutePolicy to my camel routes which has file end points

Re: Zookeeper component RoutePolicy

2016-03-03 Thread ravishankarhassain
Even I am trying to achieve the same thing If I have 3 active routes (polling to the same file path) implemented using zookeeper route policy, default behavior would be like all the 3 routes will poll the same file path and will result in race condition to process the files, which ever route pick

Re: How to send the response back to the caller when exposing cxf webservice using camel

2014-06-17 Thread ravishankarhassain
Also, I have another query . If you notice the route dataFormat=PAYLOAD"/> I am using dataFormat as PAYLOAD. But If I change the dataFormat=POJO surprisingly the CXF Webservice is not getting exposed by camel. When I see the url http://localhost:8181/cxf its says No services have been found

How to send the response back to the caller when exposing cxf webservice using camel

2014-06-17 Thread ravishankarhassain
Hi All, I am trying to expose a sample CXF SOAP based webservice using camel cxfbean component. I am using JBoss Fuse for deploying camel route as bundle. I am folllowing the bottom up approach. I created the WSDL file first then I use the CXF code gen maven plugin to generate the java cla

JAX-WS and JAX-RS Webservice with Camel

2013-09-05 Thread ravishankarhassain
How to hit (give request to) an external JAX-WS and JAX-RS service and also get the response from JAX-WS and JAX-RS service using camel ? >From the documents and example, I can understand that we can create a proxy webservice and expose that proxy webservice on the fly by giving configuration de