That worked. Thank you.
On Wed, Jan 11, 2023 at 10:43 AM Mikael Koskinen wrote:
> Hey,
>
> Can you use PollEnrich to work around this? Here's an example in YAML:
>
> - route:
> from:
> uri: timer:test
> steps:
> - pollEnrich:
> expression:
>
Hey,
Can you use PollEnrich to work around this? Here's an example in YAML:
- route:
from:
uri: timer:test
steps:
- pollEnrich:
expression:
constant:
expression: docker:stats?containerId=fa05264a1bed
- to:
uri:
Yes, you are correct. I had the consumer/producer backwards in my email.
I'll look into writing up a PR.
Thanks,
Mark
On Wed, Jan 11, 2023 at 9:18 AM Claus Ibsen wrote:
> Hi
>
> I think you swap the camel consumer vs producer.
>
> from = consumer
> to = producer
>
> So you want a on-demand
Hi
I think you swap the camel consumer vs producer.
from = consumer
to = producer
So you want a on-demand get status in a producer (eg to)
to docker:status?id=aaa
If so then maybe see if you can add that to the camel-docer and send a PR
and create a JIRA
On Wed, Jan 11, 2023 at 2:42 PM Mark
Thanks Claus. I can work on fixing this and issuing a pull request.
On Tue, Jan 10, 2023 at 2:29 PM Claus Ibsen wrote:
> Hi
>
> A ticket to tweak the noisy logging
> https://issues.apache.org/jira/browse/CAMEL-18875
>
> To handle the exception you can configure an exception listener on the
I have a Docker instance running multiple containers. I'm trying to figure
out how to get stats for each container. The problem I've run in to is
that the Docker stats operation is only a producer so I can only use the
"from" in a route. So if I don't know the container ID at build time, how