Claus Ibsen created CAMEL-27377:
-----------------------------------

             Summary: camel-protobuf-schema - a clear error for an import that 
is not a Google well-known type
                 Key: CAMEL-27377
                 URL: https://issues.apache.org/jira/browse/CAMEL-27377
             Project: Camel
          Issue Type: Improvement
            Reporter: Claus Ibsen


With the {{schema}} option of the protobuf data format (CAMEL-27329), a 
{{.proto}} that imports something other than {{google/protobuf/*.proto}} fails 
with Wire's message:

{noformat}
IllegalArgumentException: Cannot read the protobuf schema: unexpected load: 
shop/common.proto
{noformat}

Expected: a message that says which import is not supported and that only the 
Google well-known types can be imported.

Found while adding new Kamelets to the Kamelet catalog (apache/camel-kamelets, 
2026-11-21).



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to