Using the aggregator pattern

2018-02-20 Thread Meissa Sakho
Hello everyone, I'm trying to use the Aggregator Pattern with the 2 requirements below: A large quantity of fixed loan data is sent to the application through the file system. The loans should be aggregated with a defined correlation id to batch of 20 files. When a laps of 10 seconds elapses, the

Re: Using the aggregator pattern

2018-02-20 Thread Meissa Sakho
isn't detected anything on the channel for 10 seconds, the aggregation is > considered completed and the message is sent to the file. > > Best regards, > Sorin > > 2018-02-20 18:40 GMT+02:00 Meissa Sakho : > > > Hello everyone, > > > > I'm trying to use

Filtering files with the File2 component

2018-02-20 Thread Meissa Sakho
Hello everyone, I need to write a route with the requirements below: 1) The route will pool a source folder and takes only files whose name ends with .xml 2) The source file content must be saved into a single journal file named loan.xml 3)If a file name ends with .txt, it should not be included in

Re: Filtering files with the File2 component

2018-02-22 Thread Meissa Sakho
erlaps. > > But here you filter on file extensions, so you cannot have something > that is both xml and txt. > > Also mind its using regular expression syntax, so its technically > .*xml$ to indicate ends with xml. > > > > On Wed, Feb 21, 2018 at 8:53 AM, Meissa Sakho

Filtering with File component again

2018-03-06 Thread Meissa Sakho
Hello everyone, I have a use case that is a little bit different from my last post with the File component. https://mail.google.com/mail/u/0/#label/apache-camel/161b75aa802e2f9f In this case, the requirements are: 1) The route will pool a source folder and takes only files whose name ends with .xm

Re: Filtering with File component again

2018-03-06 Thread Meissa Sakho
ts .* to > indicate any kind of charachters and then ending with xml. > > https://github.com/apache/camel/blob/master/camel-core/ > src/main/docs/file-component.adoc > > On Tue, Mar 6, 2018 at 10:46 AM, Meissa Sakho wrote: > > Hello everyone, > > I have a use case that is

calling a spring bean inside an OSGI based project

2015-12-22 Thread Meissa Sakho
Hi all, I have created a restfull web service based on apache cxf with camel. My endpoint is defined inside my blueprint configuration file like below: I would like to Inj

Re: calling a spring bean inside an OSGI based project

2016-01-05 Thread Meissa Sakho
r : @gautric_io > > Red Hat Global Services > Red Hat France SARLsit: http://www.redhat.fr > Le Linea, 1 rue du General Leclerc, 92047 Paris La Défense Cedex > Sent from webmail > > - Mail original - > De: "Meissa Sakho" > À: users@camel.apache

Re: calling a spring bean inside an OSGI based project

2016-01-06 Thread Meissa Sakho
pring in OSGi creates more problem than it > solves. > > If you want to use Spring I recommend dropping OSGi on the behalf of the > Spring Boot running as fat jar or WAR. > > Cheers! > > wt., 5.01.2016 o 11:54 użytkownik Meissa Sakho > napisał: > > > Hi Greg,

Re: calling a spring bean inside an OSGI based project

2016-01-06 Thread Meissa Sakho
rint and specify the > DataSource for it to use? I didn't think it required using Spring's > ApplicationContext or anything. You could also expose it as a service > (JdbcOperations). > > On 6 January 2016 at 02:22, Meissa Sakho wrote: > > > Henryk, > > I did not w

scalability with A MQ Xpaas component in openshift

2016-04-14 Thread Meissa Sakho
Hi all, I'm using the A MQ Xpass component that is shipped with openshift 3.1 I've defined a multiple A-MQ pod with a broker running on each pod to achieve scalability. On the client side, I need to instruct to the consumer and provider the way to access the service. I'm not very sure about the pr