[
https://issues.apache.org/jira/browse/CAMEL-24673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115583#comment-18115583
]
Federico Mariani commented on CAMEL-24673:
------------------------------------------
that's another option, yeah, but the A2A consumer is not a webhook per se, but
the approach is clean, and since it is based on platform http, that's fine, so,
depending on the webhook support, I'd rather go with webhook, in case we do not
want to support/suggest it anymore, let's implement `openai:webhook` backed by
platform http like A2A.
> camel-openai: verify and parse OpenAI webhook events
> ----------------------------------------------------
>
> Key: CAMEL-24673
> URL: https://issues.apache.org/jira/browse/CAMEL-24673
> Project: Camel
> Issue Type: New Feature
> Components: camel-openai
> Reporter: Federico Mariani
> Priority: Major
>
> OpenAI notifies webhook endpoints of events such as {{response.completed}},
> {{response.failed}}, {{batch.completed}}, fine-tuning and eval runs, and
> safety alerts. openai-java 4.55 verifies the signature and parses the event
> with {{webhooks().unwrap()}} and {{verifySignature()}}.
> camel-openai is producer only. A helper usable from a {{platform-http}}
> route, such as a processor or a data format configured with the webhook
> secret, would let routes react when background responses (CAMEL-24670) and
> batches finish instead of polling them.
> Split from CAMEL-24671.
> _Claude Code on behalf of Federico Mariani (Croway)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)