You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "aldettinger (via GitHub)" <gi...@apache.org> on 2026/04/09 17:00:58 UTC

[I] Auto-detect `throwException(instance) ` exception classes for native reflection [camel-quarkus]

aldettinger opened a new issue, #8512:
URL: https://github.com/apache/camel-quarkus/issues/8512

   ### Describe the feature here
   
   
   `throwException(Class)` is already supported as per #8508.
   It might be possible to investigate adding support for `throwException(instance)`.
   
   More context in #8505 and #8508


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Auto-detect `throwException(instance) ` exception classes for native reflection [camel-quarkus]

Posted by "aldettinger (via GitHub)" <gi...@apache.org>.
aldettinger closed issue #8512: Auto-detect `throwException(instance) ` exception classes for native reflection
URL: https://github.com/apache/camel-quarkus/issues/8512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Auto-detect `throwException(instance) ` exception classes for native reflection [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #8512:
URL: https://github.com/apache/camel-quarkus/issues/8512#issuecomment-4313191964

   @aldettinger I wonder if this would be needed?
   
   If you're passing an exception instance, then it implies either the user or Arc will have instantiated the object directly.
   
   Also anything extending `Throwable` has a known set of common methods, so perhaps no method reflection would ever be required in this case?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Auto-detect `throwException(instance) ` exception classes for native reflection [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #8512:
URL: https://github.com/apache/camel-quarkus/issues/8512#issuecomment-4431351768

   > EipRoutes is the right place for such a test, maybe we could close this ticket ?
   
   Yes, I think it's ok. So I guess we can close this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Auto-detect `throwException(instance) ` exception classes for native reflection [camel-quarkus]

Posted by "aldettinger (via GitHub)" <gi...@apache.org>.
aldettinger commented on issue #8512:
URL: https://github.com/apache/camel-quarkus/issues/8512#issuecomment-4216037526

   @JinyuChen97 @zhfeng Feel welcome to amend if the description is not 100% accurate.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Auto-detect `throwException(instance) ` exception classes for native reflection [camel-quarkus]

Posted by "aldettinger (via GitHub)" <gi...@apache.org>.
aldettinger commented on issue #8512:
URL: https://github.com/apache/camel-quarkus/issues/8512#issuecomment-4431242572

   @jamesnetherton This is probably right.
   
   After investigation, this ticket was created in the context of this [comment](https://github.com/apache/camel-quarkus/pull/8505#issuecomment-4214635872). The 3 cases at hand involve serialization where `@RegisterForReflection` is legit.
   
   So, `throwException(instance)` is actually already implemented and even tested [here](https://github.com/apache/camel-quarkus/blob/main/integration-test-groups/foundation/eip/src/main/java/org/apache/camel/quarkus/eip/it/EipRoutes.java#L173). So, unless there is a subject whether EipRoutes is the right place for such a test, maybe we could close this ticket ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org