Hi,

i'm still (again) on this topic. Maybe you misunderstood that i plan to
configure camelcontext during runtime from a central configuration and or
user interface.
With your own RouteBuilder you mean creating my own dsl and somehow
extending org.apache.camel.builder.RouteBuilder?
Is this not a bit too much effort and for what reason the camel
dsl/blueprints exists?
I think I will basically do the same like Artifact transformer does and
create and install a bundle. So it's a bit easier to track the bundle state
instead of writing a file to the deploy folder.


best regards,
Matthias

Am Do., 4. Juni 2020 um 15:49 Uhr schrieb Jean-Baptiste Onofre <
[email protected]>:

> You can do kind of your own RouteBuilder.
>
> Le 4 juin 2020 à 15:15, Matthias Leinweber <[email protected]> a
> écrit :
>
> Somehow dirty, but easy. Maybe the best solution. :)
>
> Am Do., 4. Juni 2020 um 14:56 Uhr schrieb Jean-Baptiste Onofre <
> [email protected]>:
>
>> Why not having a service creating blueprint file in deploy folder ?
>>
>> That’s probably the easiest in your case.
>>
>> Regards
>> JB
>>
>> Le 4 juin 2020 à 14:54, Matthias Leinweber <[email protected]>
>> a écrit :
>>
>> Thank you for your quick reply JB,
>>
>> Yeah my plan was a bit more generic. Which service or class would be a
>> good starting point for "bootstrapping". BlueprintContainerImpl is not so
>> easy to understand (at least for me).
>>
>> best regards
>>
>> Am Do., 4. Juni 2020 um 14:14 Uhr schrieb Jean-Baptiste Onofre <
>> [email protected]>:
>>
>>> Hi Matthias,
>>>
>>> If the "source" is a file, then, you can create an FileInstall
>>> ArtifactInstaller service.
>>> If you want something more generic, it’s easy to create a service taking
>>> the string and bootstrapping the blueprint.
>>>
>>> Regards
>>> JB
>>>
>>> > Le 4 juin 2020 à 14:06, Matthias Leinweber <[email protected]>
>>> a écrit :
>>> >
>>> > Hello People,
>>> >
>>> > actually I try to programmatically deploy a (Camel) Blueprint. E.g.
>>> Create something with a String. After reading source of aries, camel and
>>> felix.fileinstall my only idea is to dynamically create bundles the way
>>> felix file install is handling this problem.
>>> > Is there anything easier/less complicated?
>>> >
>>> > best regards,
>>> > Matthias
>>>
>>>
>>
>>
>
>

Reply via email to