Re: Converting ProcessorDefinition to DSL and interfacing with camel k

2020-05-27 Thread Reji Mathews
Thanks for the right advice. It was just a curious question from the point of re-usability of what we have built so far. Yes, we are looking forward to doing it the way as suggested. Cheers Reji On Wed, May 27, 2020 at 12:59 AM Claus Ibsen wrote: > Hi > > No and that is not the purpose of Camel

Re: Converting ProcessorDefinition to DSL and interfacing with camel k

2020-05-26 Thread Claus Ibsen
Hi No and that is not the purpose of Camel K. Camel K is a closed-world and opinionated runtime that dont support such very unusual and special use cases. But on the other hand, whatever you can do from the configure() method in a RouteBuilder is surfaced to the end user, so you can from there, g

Re: Converting ProcessorDefinition to DSL and interfacing with camel k

2020-05-26 Thread Willem Jiang
I guess you just need to assemble the ProcessorDefintion into a CamelRoute with a CamelContext to run it in a JVM. It's not good way to use these low level Camel APIs as there are too much details you need to explore. As we deploy the CamelRoute through Camel-K into K8s. It's more easy that you j

Converting ProcessorDefinition to DSL and interfacing with camel k

2020-05-26 Thread Reji Mathews
This might be a little wierd question. But, I was wondering if there is a way to convert an object of org.apache.camel.model.ProcessorDefinition object into an equivalent camel DSLs. I have an application which constructs ProcessorDefinition object using low level camel api's and create a camel con