Re: Suggestions on how to cluster Camel?

2016-07-22 Thread Vitalii Tymchyshyn
We are using Apache Zookeeper for cluster coordination. While camel has zookeeper module, we made our own class to overcome bundled module limitations. Best regards, Vitalii Tymchyshyn Пт, 22 лип. 2016 14:39 користувач David Hoffer пише: > We have a standalone Camel app (runs as daemon with

Re: FTP Consumer Issue - File operation failed: 227

2016-07-24 Thread Vitalii Tymchyshyn
Well, it looks like your FTP server is overloaded. Best regards, Vitalii Tymchyshyn Нд, 24 лип. 2016 07:16 користувач Michele пише: > Hi everyone, > > I have these routes (Read several file from FTP folder and process each of > them) > > > uri="ftp://usern

Re: Camel Spring Bean error Handling

2016-07-25 Thread Vitalii Tymchyshyn
I doubt DataSource checks the connection on startup. Which camel component are you using to access database? Best regards, Vitalii Tymchyshyn Пн, 25 лип. 2016 03:08 користувач fxthomas пише: > Hello, > >My question is not Camel specific but more Spring bean handling issue. >

Re: Dynamic routing after Resequencing messages

2016-07-25 Thread Vitalii Tymchyshyn
Do you want to do this once? In this case the easiest is just to put a @RoutingSlip bean that will switch its state after first message. Пн, 25 лип. 2016 03:29 користувач sheikhisham пише: > I want to reorder a sequence of messages and dynamically route the messages > according to their order af

Re: Camel Spring Bean error Handling

2016-07-26 Thread Vitalii Tymchyshyn
Then it's up to you to check the connectivity in some @PostConstruct method. Вт, 26 лип. 2016 00:14 користувач fxthomas пише: > hi, > > I am not using any specific camel componenet to access DB. just plain old > JDBC after getting the datasource which is injected in the bean. > > My main issue t

Re: Netty4-http

2016-08-03 Thread Vitalii Tymchyshyn
They are populated. I read Content-Type and Access successfully. 3 серп. 2016 р. 16:20 "Vinny" пише: > Hello All, > Am I correct i assuming that the normal Camel HTTP headers are not > populated when we use the netty4-http component? To access things like the > query string we need to do it usin

Re: Default Exception handler and Dead Letter Channel mix

2016-08-08 Thread Vitalii Tymchyshyn
Why can't you use a global onException? In the docs I see the limitation only for Java DSL. For XML DSL there is no -specific settings, so I assume one should be picked up. Best regards, Vitalii Tymchyshyn Пн, 8 серп. 2016 о 12:08 javi.noguera пише: > Hi, > > I'm using Came

Re: Dynamic bean name injection

2016-08-08 Thread Vitalii Tymchyshyn
Well, the valid options are listed here: http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html Нд, 7 серп. 2016 о 14:21 souciance пише: > Hi Matt, > > I was unsure if you could inject the id from a header like the example you > show. I'll give it a try and if it works then that would a be

Re: camel sql insert ouput

2016-08-09 Thread Vitalii Tymchyshyn
hange to get reference to some parent exchange objects. It would be great to have something special for this case as using split is a bit confusing and has certain overhead. Best regards, Vitalii Tymchyshyn 9 серп. 2016 р. 10:32 дп "Claus Ibsen" пише: You likely need to upgrade Cam

Re: Read file one after other in sequence

2016-08-09 Thread Vitalii Tymchyshyn
Well, don't use seda as it's asynchronous. Use direct instead. Best regards, Vitalii Tymchyshyn Вт, 9 серп. 2016 о 13:02 ganga_camel пише: > Hi, > > My requirement is to split the large file into smaller files and then > process one file at a time. > > However, th

Re: Any issues having Camel Processor doing all the Works

2016-08-12 Thread Vitalii Tymchyshyn
ng or concurrent calls, just by using camel. Best regards, Vitalii Tymchyshyn Пт, 12 серп. 2016 05:13 користувач JamesG пише: > Hi, > > Instead of doing the routing using DSL, web service calling with CXF > component, enriching, intercepting, etc , why not just have a Processor and > pu

Re: Jackson annotations ignored

2016-08-14 Thread Vitalii Tymchyshyn
Are you sure it's proper Jackson version? Jackson vs Jackson2 have different packages, but same annotation names. Best regards, Vitalii Tymchyshyn Нд, 14 серп. 2016 12:30 користувач cedr.f пише: > Hello, > > I'm using camel 2.16.3 in karaf 4.0.3, and there is a strange behav

Re: Camel Context Metrics

2016-08-16 Thread Vitalii Tymchyshyn
Just a note. If you are in same JVM and has CamelContext objects ready, you can always access stats data with org.apache.camel.CamelContext#getManagedCamelContext. You don't need JMX to do this. Best regards, Vitalii Tymchyshyn Пн, 15 серп. 2016 о 11:30 Rajith Muditha Attapattu пише: >

Re: Disabling concurrency in camel route

2016-08-17 Thread Vitalii Tymchyshyn
You should also do "synchronous=true". Otherwise you may experience reordering on any asynchronous producer. Another option is to use http://camel.apache.org/resequencer.html when you want the sequence restored. Best regards, Vitalii Tymchyshyn Ср, 17 серп. 2016 о 09:28 robina п

Re: Disabling concurrency in camel route

2016-08-17 Thread Vitalii Tymchyshyn
You would need a combination. Ср, 17 серп. 2016 09:41 користувач robina пише: > Thanks for the reply Vitalii, > > Would setting synchronous=true on its own ensure that only one message is > processed by the route at any given time? Or is it the combination of the > maxPoolSize of 1 and synchrono

Re: Camel SEDA timeout: Update it at runtime

2016-08-17 Thread Vitalii Tymchyshyn
You can try using dynamic to ( http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html) to set timeout option from header. Best regards, Vitalii Tymchyshyn Ср, 17 серп. 2016 10:45 користувач dcparga пише: > Hi all, > > I'm trying to implement a seda route to han

Re: Unmarshal fixed length Binary data

2016-09-04 Thread Vitalii Tymchyshyn
Unfortunatelly beanio do not support binary. It may work if your binary is a valud UTF-8 (or othet charset) though. E.g. we are parsing copybook with it. Пт, 2 вер. 2016 10:55 користувач Brad Johnson пише: > I second Beanio. I've used it for fixed length multi-line records and it is > fabulous.

Re: Convert Flat File to XML using a XSD Schema

2016-09-22 Thread Vitalii Tymchyshyn
Try camel-beanio. Ср, 21 вер. 2016 10:04 користувач Daniel P22 пише: > Hi, I want to know if is possible convert a Flat File to XML using a XSD > Schema.I'm a Biztalk Developer, and I want something similar like Flat File > Disassembler.The Flat File Dissamsembler tool, takes a Flat File and > t

Re: Camel for ETL batch jobs

2016-09-29 Thread Vitalii Tymchyshyn
We are using Spring batch and employing Camel for complex transformations. Spring batch has Camel integration. Best regards, Vitalii Tymchyshyn Чт, 29 вер. 2016 04:40 користувач contactreji пише: > Hi Friends > > Has anyone attempted to write some etl batch jobs using Apache Ca

Re: Set camel route based on timer or a count variable

2016-10-01 Thread Vitalii Tymchyshyn
You can try http://camel.apache.org/throttler.html Not sure if it can do it out of the box, but it accepts an expression to control behavior. Best regards, Vitalii Tymchyshyn Сб, 1 жовт. 2016 02:00 користувач Vik пише: > I want to invoke another camel route based on a counter value or af

Re: XSLT URI with network share

2016-10-01 Thread Vitalii Tymchyshyn
You may need to change '\' to '/' proprly encode windows path as URI. This may require to use a lot of /, e.g. file:, but I dont remember exact number. Best regards, Vitalii Tymchyshyn Пт, 30 вер. 2016 17:02 користувач David Hoffer пише: > I have a Camel xslt uri

Re: Limit Concurrent Access

2016-10-03 Thread Vitalii Tymchyshyn
be very useful to have a generic module to help in such cases. Best regards, Vitalii Tymchyshyn Нд, 2 жовт. 2016 11:27 користувач Brad Johnson пише: > Ah, so you aren't really concerned about the incoming calls, per se, it's > the number of outgoing calls. And to limit that y

Re: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Vitalii Tymchyshyn
I think you would get into a recusion this way and end up with stack overflow. You should try http://camel.apache.org/dynamic-router.html Best regards, Vitalii Tymchyshyn 13 жовт. 2016 р. 18:31 "Goyal, Arpit" пише: > Hi, > > We currently are on 2.16.3 version and can'

Re: Avro component example

2016-10-14 Thread Vitalii Tymchyshyn
We are using avro quite succesfully. Чт, 13 жовт. 2016 07:25 користувач owain пише: > Hi, > > Has anyone had any success converting a body (pojo) to an avro message via > the avro component. I have generated the avro serialiser for the avro > message bit I am struggling with the documentation a

Re: Avro component example

2016-10-16 Thread Vitalii Tymchyshyn
пише: > Have you a simple example you could share? > > Sent from my iPhone > > > On 15 Oct 2016, at 03:11, Vitalii Tymchyshyn [via Camel] < > ml-node+s465427n5788829...@n5.nabble.com> wrote: > > > > We are using avro quite succesfully. > > > >

Re: 'host' configuration param not used by servlet

2016-11-10 Thread Vitalii Tymchyshyn
In Tomcat you can add https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/RemoteIpValve.html Ср, 2 лист. 2016 о 13:51 Jonas Koperdraat пише: > Hi Zoran, > > I've checked and the proxy sets the 'X-Forwarded-Host' header and this > contains the 'correct' host. The 'Host' header

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread Vitalii Tymchyshyn
, Vitalii Tymchyshyn 22 груд. 2016 р. 12:52 "linktech" пише: Looking for Camel capability and examples for REST consumers & producers using non-blocking HTTP Libs to support non-blocking HTTP request/responses. I did see the some support for producer templates but not on consumers or R

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread Vitalii Tymchyshyn
In camel it works in a bit different way, actually easier than in IoC scenarios. As soon as all endpoints in your route are non-blocking, the whole route should be non-blocking to. Чт, 22 груд. 2016 13:35 користувач linktech пише: > I am looking for the same REST HTTP functionality in Camel as o

Re: Camel Non-blocking HTTP based Microservices

2016-12-22 Thread Vitalii Tymchyshyn
As I've said, camel has tons of non-blocking endpoints. This is the list, but I am not sure if its complete: http://camel.apache.org/asynchronous-routing-engine.html Чт, 22 груд. 2016 14:04 користувач linktech пише: > It does look like: http://camel.apache.org/asynchronous-processing.html > may

Re: Special characters in URL's

2017-01-03 Thread Vitalii Tymchyshyn
There are two things to consider: 1) Server never receives anything after #. It's a purely client-side feature to navigate inside the page. It's never sent to server. 2) uri in the logs below is camel endpoint uri, not http one.Path looks correct to me, but please see (1). Best regard

Re: Springboots vs Osgi // for Camel Apps

2017-01-03 Thread Vitalii Tymchyshyn
regards, Vitalii Tymchyshyn On Tue, Jan 3, 2017, 3:26 AM Christian Schneider wrote: > The packaging as spring boot or OSGi application should not affect the > performance. >

Re: remap 'http' to use the camel http4 component by default

2017-02-02 Thread Vitalii Tymchyshyn
Hi. Just create a bean in registry with name http and proper component type. E.g. if you are using spring, define a spring bean. On Thu, Feb 2, 2017, 7:02 AM jack patwork wrote: > Hi, > > Is it possible to remap the 'http4' component to use the 'http' component > id. I'm asking because I have d

Re: Need an Example to pass XMLTYPE output to Oracle stored procedure. facing issue with my code

2017-02-12 Thread Vitalii Tymchyshyn
It looks like you object is not valid anymore after original connection is closed. Try using transaction that covers both calls - this would retain connection open. сб, 11 лют. 2017 о 02:43 kumarburla пише: > Hi Team, > > I am using sql-stored component and to execute stored procedure in Oracle