Aurélien Pupier created CAMEL-22447:
---------------------------------------
Summary: Camel JBang Dependency update is not adding dependencies
iif there is an OnException not configured
Key: CAMEL-22447
URL: https://issues.apache.org/jira/browse/CAMEL-22447
Project: Camel
Issue Type: Bug
Components: camel-jbang
Affects Versions: 4.14.0
Reporter: Aurélien Pupier
Attachments: reproducer-update-onExceptionNotConfigured.zip
{noformat}
[Wed, 24 Sep 2025 13:30:27 GMT] [INFO] Camel Dependency Update: jbang
-Dcamel.jbang.version=4.14.0 camel@apache/camel dependency update
/home/apupier/ws/reproducer-update/pom.xml
/home/apupier/ws/reproducer-update/src/main/resources/camel/reproducer.camel.yaml
--lazy-bean --ignore-loading-error
[Wed, 24 Sep 2025 13:30:43 GMT] [INFO] ERROR: Failed to create route:
route-1318 at: >>> OnException[[] -> [To[flink]]] <<< in route:
Route(route-1318)[From[timer:yaml?period=1000] -> [OnExcepti... because: At
least one exception must be configured on OnException[[] -> [To[flink]]]
No updates to pom.xml
[Wed, 24 Sep 2025 13:30:43 GMT] [INFO] Camel dependencies update completed
successfully.
{noformat}
based on provided example, it is expected that 2 dependencies are added, one
for amqp from the route, one for Flink from the onException
--
This message was sent by Atlassian Jira
(v8.20.10#820010)