AW: Camel Jackson unmarshal behavior and object type

2017-12-04 Thread christian.jacob
Hi Allen, That seems to me to be a matter of streaming, look here: http://camel.apache.org/stream.html Regards, Christian -Ursprüngliche Nachricht- Von: Bagwell, Allen F [mailto:afba...@sandia.gov] Gesendet: Dienstag, 5. Dezember 2017 00:12 An: users@camel.apache.org Betreff: Camel Jack

RE: Need advice on application architecture with camel

2017-12-04 Thread Matthew Shaw
Lol - no worries. Matthew Shaw Lead Solutions Architect HRIS Program Integration Work: 36353103 -Original Message- From: Craig Taylor [mailto:ctalk...@ctalkobt.net] Sent: Tuesday, 5 December 2017 1:03 PM To: users Subject: Re: Need advice on application architecture with camel Actuall

Re: Need advice on application architecture with camel

2017-12-04 Thread Craig Taylor
Actually after I sent my suggestions relalised he had asked in May of this year - (was looking at an older email folder (since fixed)). Hopefully it's still useful... On Mon, Dec 4, 2017 at 9:56 PM, Matthew Shaw < matthew.s...@ambulance.qld.gov.au> wrote: > Sounds like he is doing message driven

RE: Need advice on application architecture with camel

2017-12-04 Thread Matthew Shaw
Sounds like he is doing message driven architecture. I would recommend a simple high level camel route (java dsl), which in-turn routes to a destination, based on structured message, which contains enough info for the event, including any dynamic stuff. -Original Message- From: Craig

Re: Need advice on application architecture with camel

2017-12-04 Thread Craig Taylor
See http://camel.apache.org/loading-routes-from-xml-files.html for loading XML routes at runtime. For #1 consider using the DSL route creation. It returns Java objects for each of the constituent parts. The DSL does not have to be as 1 contiguous block so conditional logic can be applied to modi

Camel Jackson unmarshal behavior and object type

2017-12-04 Thread Bagwell, Allen F
I am using camel-jackson to marshal/unmarshal in a blueprint route for use with a CXF rest client. The rest call expects a JSON string and returns one in its response. I can do an unmarshal like in the examples provided on the Camel Jackson page and it works fine, but I'm having trouble with th