https://kotlinlang.org logo
Title
g

groostav

03/04/2020, 8:13 PM
Hey guys, I build a desktop software but have been contracted to help build some data collection. Its gotta be on-site (no cloud). Its mostly collecting data from a set of my-sql dbs written to by embedded devices. Might have latency requirements (I've pushed back on "real time"). I'm thinking about using Apache Camel, but itl be my first time using this framework. Anyone here got experience with it?
j

jimn

03/05/2020, 5:21 AM
apache camel is awesome, on paper. but the boilerplate always feels harder to arrive at in the end than maybe some other coding convention. i tend to start on things thinking apache camel is a way to make a project longer lived from the onset, but typically wind up with faster pathways in other means, most often hazelcast in my history.
i would add, there's no real convenience between hazelcast and kotlin yet. they made some noise this way, but too little too late.
b

bjonnh

03/06/2020, 7:36 PM
doesn't it integrate with Spring (Camel)?
j

jimn

03/07/2020, 7:30 PM
my experience is that yes, everything under the sun has a module you can wrap in camel, to the level of attention the module was given, which tends to drop you off just at the doorstep. i have used hazelcast in camel, and if you can imagine wrapping a hazelcast wrapper ina JMS wrapper, that's what you get. maybe it pans out better for pure java dsl, i tend to build codegen around xml assemblies back in the day for camel. the interesting thing of invertng the services of web deployment with camel assembling the parts of your http on the fly, your auth, etc. really never lived up to my hopes
this was really cool to write. https://github.com/jnorthrup/xcaml I got myself as well as 150 contractors fired from AT&T when the visualization got shared up the ladder. somene didn't want customer data access transparency
re: spring specifically, camel+spring is two overlapping things. camel uses spring context bean description xml but also added a dozen other bean description options so there's almost no spring dependency. sry i read the question wrong first time.
i sort of shuffled a few camel adapters into thier own project for couchdb once upon a time, shell scripts seem to be slightly easier to support in the final analysis. bash even has win32 ports via git distros with gnu-textutils. https://github.com/jnorthrup/jdbc2json#docs
g

groostav

05/27/2020, 8:34 PM
Thanks for all this, our current pandemic killed this contract but its been interesting reading