Yes test only, sometimes you do not have a java test framework to spin
up an instance of the target service you want to integrate so having
some support in camel to spin up a containerized service may be
useful. I used testcontainers to test etcd and consul and by spinning
up a container for the mentioned service is much easier that try to
mock every possible api.

---
Luca Burgazzoli


On Tue, May 22, 2018 at 6:06 PM, Paul Gale <paul.n.g...@gmail.com> wrote:
> Put another way - what is the problem that you're trying to solve? Just
> wondering.
>
> Thanks,
> Paul
>
> On Tue, May 22, 2018 at 12:05 PM, Paul Gale <paul.n.g...@gmail.com> wrote:
>
>> What would be some example use cases that illustrate the need to manage
>> containers using Camel in particular? Just testing only?
>>
>> Thanks,
>> Paul
>>
>> On Tue, May 22, 2018 at 11:35 AM, Luca Burgazzoli <lburgazz...@gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I've been using testcontainers [1] for a while and I found it useful
>>> to test against non java services such as consul, etcd and so on so
>>> I'd like to create a camel-testcontainers "component" that includes
>>> some facilities like a dedicated test support that take care of
>>> starting/stopping containers.
>>>
>>> Any objection/suggestion ?
>>>
>>> Regards,
>>> Luca
>>>
>>> [1] https://www.testcontainers.org/
>>>
>>>
>>> ---
>>> Luca Burgazzoli
>>>
>>
>>

Reply via email to