Re: Passwords in Camel endpoint URIs and limitations of RAW syntax

2020-06-04 Thread FabryProg
Hello Florian, Did you try to save the password into a variable / parameter / config file and lookup it into the URI? Kind regards! Il giorno gio 4 giu 2020 alle ore 10:50 Florian Patzl < florian.pa...@evolit.com> ha scritto: > Hello Ralf, > thanks for your response. No, I didn't mention that i

Re: Camel & NiFi

2020-05-26 Thread FabryProg
ith most of my users/projects. It allows to resume > and persist. > > Regards > JB > > > Le 26 mai 2020 à 20:54, FabryProg a écrit : > > > > Camel and NiFi.. 😍 > > > > I used both in enterprise projects. > > > > For common people both fra

Re: Camel & NiFi

2020-05-26 Thread FabryProg
Camel and NiFi.. 😍 I used both in enterprise projects. For common people both framework could be similar BUT there is a big difference. Resiliency level! NiFi saves every message to disk to reach high consistency level. In apache camel message are fast, light but volatile. I forward a que

Re: Poor Performance of Camel-Sql Batch insertions with Oracle DB

2019-05-23 Thread FabryProg
Hi guy Perhaps the error is another: do you tried to change initial and max pool size ? Or connectionharvest settings? King regards Il Gio 23 Mag 2019, 23:12 Saiteja Parna ha scritto: > This issue is resolved. My post might help others. > Batch Update/Insert/Delete has issues with Oracle_Jd

SynchronizedExchange: Exception occurred during onCompletion

2018-12-18 Thread FabryProg
Hello Occasionally, we have a WARNING into our camel project. We are using disruptor queue implementation what should it be? Is it an error or warning message? is it dangerous? we cannot reproduce it programmatically! Thanks 2018-12-16 19:13:44,638 WARN [org.apache.camel.component.disruptor.S

Rest dynamic load bilancer

2018-11-28 Thread FabryProg
hello everybody i have a rest service using rest DSL. I would write / use a load bilancer based to system load to increase consumer's thread. The max number of threads are Math.max(1, floor10(cpu * 8)) There are a dynamic load bilancer into apache camel?

Re: Apache Camel Question

2018-11-21 Thread FabryProg
Hello guys You can use file2 component to scan directory recursively, the output can be write into a file/db. You can use a custom query every loop time to changes detection. Il giorno Mer 21 Nov 2018, 14:39 Piotr Niewinski < niewinskipiotr1...@gmail.com> ha scritto: > Hello Apache Camel Team

Re: spring boot http4 basic auth configuration

2018-10-10 Thread FabryProg
You shuold use authenticationPreemptive param Il Mer 10 Ott 2018, 11:44 Mark Hayen ha scritto: > Hi, > > I'm trying to configure basic authenicatio for the http4 component by using > the provided spring boot configuration properties. > > application.properties: > camel.component.http4.http-confi

Re: Spring Bean init vs Camel Context Running status

2018-09-28 Thread FabryProg
informed about various > events that happens in camel among which the startup of the context. > > > --- > Luca Burgazzoli > > On Fri, Sep 28, 2018 at 11:13 AM FabryProg wrote: > > > > I have a problem with spring bean init and camel context (spring) running >

Spring Bean init vs Camel Context Running status

2018-09-28 Thread FabryProg
I have a problem with spring bean init and camel context (spring) running status. My software has a declared bean: Inside the bean i write follow code: public class BeanA { @EndpointInject(uri="seda://sendNotify") private ProducerTemplate notifier; .. public voi

Re: Camel route programmatically skipping

2017-01-31 Thread fabryprog
controlbus is good but i am thinking any trasparent solution. My idea was use camel servlet listener http://camel.apache.org/servletlistener-component.html Using servlet listener, (aka hot deploy) all route definitions worked but all rest definitions was broke! (is it a bug?)! -- View this me

Camel route programmatically skipping

2017-01-31 Thread fabryprog
Hello, I am using camel 2.18 with spring xml application context and i have a database table with follow settings routeId | phase route1 | installation route2 | standard route3 | installation Into my example, on installation phase i would start only route1, route3 and skip route2. How can do i

Re: How to disable errorHandle in subroutes in Spring DSL

2016-10-31 Thread fabryprog
Hello, instead of using errorHandle you can use try catch sintax: http://camel.apache.org/try-catch-finally.html -- View this message in context: http://camel.465427.n5.nabble.com/How-to-disable-errorHandle-in-subroutes-in-Spring-DSL-tp5789508p5789510.html Sent from the Camel - Users mailing

Re: Activate Netty4 producer mode

2016-10-31 Thread fabryprog
Hello, it is camel's slang! Consumer: Producer: -- View this message in context: http://camel.465427.n5.nabble.com/Activate-Netty4-producer-mode-tp5789493p5789509.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel hot deploy develop

2016-10-31 Thread fabryprog
Hello everyone, I am searching a hot deploy framework to develop camel apps. i am thinking an open source product similar to jrebel http://zeroturnaround.com/software/jrebel/ Can you help me? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-hot-deploy-develop-tp578949

Re: Camel Transactions query

2016-10-25 Thread fabryprog
Hello, to manage sql transaction's query you must use 1. camel sql component (http://camel.apache.org/sql-component.html) 2. transactional client (http://camel.apache.org/transactional-client.html) 3. mark your route "" N.B. if you invoke more nested routes without right transaction manage, you

Re: Camel SQL

2016-10-12 Thread fabryprog
If you execute your query using alias (count(*) as c) you can use simple EL. http://camel.apache.org/simple.html The query result is into body input message For example: *${body[c]}*. It is a list of hashmap object. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-

Re: Possible to identify previous step & configuration?

2016-10-12 Thread fabryprog
Yes, it is possible but into your steps you must use exchange properties. Input Message and Output Message are designed to change values into every step / processor. -- View this message in context: http://camel.465427.n5.nabble.com/Possible-to-identify-previous-step-configuration-tp5788697p5

Re: camel swagger doesn't support array of objects as input type

2016-10-10 Thread fabryprog
An array isn't a JSON BUT There is a mode to add this "special case" using dataFormatProperty tag! -- View this message in context: http://camel.465427.n5.nabble.com/camel-swagger-doesn-t-support-array-of-objects-as-input-type-tp5788557p5788563.html Sent from the Camel - Users mailing list a

Re: Calling {body.getXXXXXX}from Simple EL taking > 200 ms

2016-10-07 Thread fabryprog
Can i have a test code or test mock project? -- View this message in context: http://camel.465427.n5.nabble.com/Calling-body-getXX-from-Simple-EL-taking-200-ms-tp5788478p5788481.html Sent from the Camel - Users mailing list archive at Nabble.com.

syslog dateformat + log4j syslog appender

2016-10-07 Thread fabryprog
Hello everyone, I'm trying to figure out how to set log4j conversionPattern to be compatible with the SyslogDateFormat. I try without results: log4j.appender.syslog.layout.conversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m log4j.appender.syslog.layout.conversionPattern=%d{ISO8601} %-5p [%t] %c{2} %

Re: Swagger validation with camel-swagger

2016-10-06 Thread fabryprog
Hello, this issue been fixed into 2.18.0 that will be releases within few days -- View this message in context: http://camel.465427.n5.nabble.com/Swagger-validation-with-camel-swagger-tp5788403p5788424.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: split, tokenize, unmarshal puts objects into ArrayList

2016-09-18 Thread fabryprog
Can we have an example? -- View this message in context: http://camel.465427.n5.nabble.com/split-tokenize-unmarshal-puts-objects-into-ArrayList-tp5787509p5787694.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Docker component does not work in the OSGi environment, but I have a solution

2016-09-16 Thread fabryprog
Hello i am working on new docker component release... Thanks for your time. I Will do it -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Docker-component-does-not-work-in-the-OSGi-environment-but-I-have-a-solution-tp5787337p5787655.html Sent from the Camel - Users mai

Re: MongoDBEndpoint with wrong attributes

2016-09-05 Thread fabryprog
This is my stacktrace: Caused by: com.mongodb.MongoTimeoutException: Timed out after 3 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception open

MongoDBEndpoint with wrong attributes

2016-09-05 Thread fabryprog
fix can be: # new endpoint attribute "raiseConnectionException" # check attribute into MongoDBEndpoint.initializeConnection() method. Is it possible? kings regards FabryProg -- View this message in context: http://camel.465427.n5.nabble.com/MongoDBEndpoint-with-wrong-attributes-tp578719

SWAGGER same service into different war file!

2016-06-06 Thread fabryprog
sal BUG or is it my configuration error? In All my project I have a same web.xml into war file, so all my "Camel Rest Servlet" have same name but there are in a different context-root! Perhaps i must change servlet name? Any Suggestions? I tried camel 2.17.1 version with same result

Re: placeHolder

2016-05-31 Thread fabryprog
hello, try to change http://{{fromUrl}}/occupations?matchOnUriPrefix=true"; /> -- View this message in context: http://camel.465427.n5.nabble.com/placeHolder-tp5783268p5783284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.17.x, null values are gone

2016-05-31 Thread fabryprog
my solution is: Please, insert this line into official documentation for backward compatibility! king regards! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-17-x-null-values-are-gone-tp5783253p5783274.html Sent from the Camel - Users ma

Re: Camel 2.17.x, null values are gone

2016-05-30 Thread fabryprog
Everything is configured in this way by camel spring DSL camelContext Simple REST DSL -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-17-x-null-values-are-gone-

Re: Camel 2.17.x, null values are gone

2016-05-30 Thread fabryprog
camel (server side ) + angular (client side) i just upgrade camel version! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-17-x-null-values-are-gone-tp5783253p5783257.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel 2.17.x, null values are gone

2016-05-30 Thread fabryprog
Hello, i upgrade my camel version from 2.16.3 to 2.17.0 Server side, I am using rest component + json. Now I have a problem, in this version my json null values are gone! Before camel upgrade i can send follow json { "first": "hello", "second": null, "third": "everyone" } into camel 2.17.0 m

Isolating header into route

2016-04-07 Thread fabryprog
Hello, how to force my route to ISOLATING her headers? I have this flow: route A1 - set CamelSqlQuery route A2 - set CamelSqlQuery route B - execute sql based on CamelSqlQuery header Interceptor - execute more sql to check permission using own CamelSqlQuery header - remove CamelSqlQuery

Re: Limit swagger API

2016-04-05 Thread fabryprog
Done https://issues.apache.org/jira/browse/CAMEL-9817 -- View this message in context: http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791p5780491.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-sql Query with params list

2016-04-01 Thread fabryprog
Hey claus! This feature is included into 2.17.0? /SQL component can now load the SQL queries from external resources so you can use comments and format the queries using multi lines and indents. In addition to that the SQL component now supports SQL IN queries where the IN values are dynamic cal