Re: Camel Avro : Dependency added but still class not found error

2015-12-04 Thread Claus Ibsen
You should use your pojo class name, that is just there as an example. On Thu, Dec 3, 2015 at 3:30 PM, Vanshul.Chawla wrote: > I am doing a basic POC to convert xml to avro format. > > Below is the code > > > > > http://www.springframework.org/schema/beans"; >xmlns:xsi="http://www.w3.or

Re: camel zipfile memory based?

2015-12-04 Thread Claus Ibsen
We are improving this in Camel 2.17 so the data formats are using stream caching / streaming out of the box, and avoiding to read the entire content into memory. On Thu, Dec 3, 2015 at 9:27 PM, Wilson MacGyver wrote: > according to http://camel.apache.org/zip-dataformat.html > > zip data format i

Re: Camel Aggregator - Completion based on CamelSplitComplete

2015-12-04 Thread Claus Ibsen
If you want a fork - join kinda pattern, then use the splitter only mode http://camel.apache.org/composed-message-processor.html On Fri, Dec 4, 2015 at 7:13 AM, contactreji wrote: > Hello!! > > I just noticed the the header called CamelSplitComplete in camel splitter > EIP. > > My requirement is

Re: Camel and Activemq setup with Spring Boot

2015-12-04 Thread Joakim Bjørnstad
Hello, I'd check out the source of JmsAutoConfiguration and ActiveMQAutoConfiguration to see what Spring Boot autoconfigures. Essentially everything under the org.springframework.boot.autoconfigure package. For example ActiveMQ can be configured by supplying ActiveMQProperties through Spring Boot

Re: Camel Aggregator - Completion based on CamelSplitComplete

2015-12-04 Thread ganga_camel
The CamelSplitComplete is at each exchange level that gets split. In case the below block is aggregating only a specific set of filtered data, then the exchanges that are getting into this block may not be the last exchange from the bigger set of exchanges and hence the block posted will never get

Advice: how to shut down route after specified time

2015-12-04 Thread Anton Hughes
Hello My use case: I would like to shut down a route after a specified amount of time, and the the timer should be reset-able. I have a web application that receives messages from a jms queue, and pushes these to web clients. If the client has been inactive then we should shut down that route. If

Multicast to Aggregation not working

2015-12-04 Thread jtoepfer
I'm running: Apache ActiveMQ 5.9.1 Apache Camel 2.15. I've have a timer that kicks off a stored proc, which receives a unique batch id. That batch id is then passed through a multicast to several processes. After all those processes are finished they aggregate back to file aggregation, which

Re: Multiple Datasource in sql or JDBC component

2015-12-04 Thread fxthomas
ok thanks , will try this -- View this message in context: http://camel.465427.n5.nabble.com/Multiple-Datasource-in-sql-or-JDBC-component-tp5774594p5774680.html Sent from the Camel - Users mailing list archive at Nabble.com.

Call to secondary webservice

2015-12-04 Thread kgscorp
Hi kind readers! I am begining with Camel, and I'd like to ask a (maybe dumb) question for which my searches didn't find any answer. I have a route for a webservice ,being, in short: from(mySourceURI).process(myProcessor).to(myTargetURI). The processor in itself, shall handle many things, one of

Re: camel zipfile memory based?

2015-12-04 Thread Wilson MacGyver
thank you for the heads up. I'll work around it by increasing the heap for now then. Thanks, Mac On Fri, Dec 4, 2015 at 3:54 AM, Claus Ibsen wrote: > We are improving this in Camel 2.17 so the data formats are using > stream caching / streaming out of the box, and avoiding to read the > entir

Re: Advice: how to shut down route after specified time

2015-12-04 Thread sekaijin
Hi you can use camel-timer or camel-quartz and controlbus http://camel.apache.org/timer.html http://camel.apache.org/quartz.html http://camel.apache.org/controlbus-component.html something like: from("timer://foo?fixedRate=true&period=6&repeatCount=1"). to("controlbus:route?routeId=foo&actio

Camel tuning - Reading Websphere MQ is slow 35-40msg/s

2015-12-04 Thread blommis
We are reading from a websphere mq which reads about 36-40msg/s which is very slow. We are using this in a liberty profile environment. The old version, which is on Java Caps on websphere is 3x faster. Not ok. The code is basically this (one of out components): from(wmq:queue:inqueue).to(direct:h

Re: Multiple Datasource in sql or JDBC component

2015-12-04 Thread jtoepfer
fxthomas, I'm actually doing something similar. I am using the sql component to call my sql, which uses oracle database links to get to other data in another database. I believe if you can write a sql statement in something like Squirrel SQL client, you should be able to use it in the sql com

Multicast to Aggregation not working

2015-12-04 Thread jtoepfer
I'm running: Apache ActiveMQ 5.9.1 Apache Camel 2.15. I've have a timer that kicks off a stored proc, which receives a unique batch id. That batch id is then passed through a multicast to several processes. After all those processes are finished they aggregate back to file aggregation, which