You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "lavocatt (via GitHub)" <gi...@apache.org> on 2026/09/01 13:10:00 UTC
[PR] ARTEMIS-6219 Support _class discriminator in JSON/YAML broker properties [artemis]
lavocatt opened a new pull request, #6658:
URL: https://github.com/apache/artemis/pull/6658
JSON and YAML broker properties cannot configure interface-typed fields like storeConfiguration and HAPolicyConfiguration because hierarchical formats cannot express a key as both a scalar discriminator and an object with sub-properties simultaneously.
Introduce a reserved _class key that emits the FQCN as a .class property before processing sub-properties, leveraging the existing ClassloadingUtil instantiation path. The _class key is extracted before iterating entries, making it order-independent regardless of JSON key serialization order.
Assisted-by: Claude Opus 4.6 <no...@anthropic.com>
--
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: issues-unsubscribe@artemis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org
Re: [PR] ARTEMIS-6219 Support _class discriminator in JSON/YAML broker properties [artemis]
Posted by "gtully (via GitHub)" <gi...@apache.org>.
gtully merged PR #6658:
URL: https://github.com/apache/artemis/pull/6658
--
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: issues-unsubscribe@artemis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org
Re: [PR] ARTEMIS-6219 Support _class discriminator in JSON/YAML broker properties [artemis]
Posted by "gtully (via GitHub)" <gi...@apache.org>.
gtully commented on PR #6658:
URL: https://github.com/apache/artemis/pull/6658#issuecomment-5494863331
the properties have a conversion method to go from String to a class type and have the order dependency to have the special string value first.
--
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: issues-unsubscribe@artemis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org
Re: [PR] ARTEMIS-6219 Support _class discriminator in JSON/YAML broker properties [artemis]
Posted by "lavocatt (via GitHub)" <gi...@apache.org>.
lavocatt commented on PR #6658:
URL: https://github.com/apache/artemis/pull/6658#issuecomment-5496914169
> the properties have a conversion method to go from String to a class type and have the order dependency to have the special string value first.
The _class value is now emitted as-is, an users choose to use the fully qualified class name or the short name if possible
--
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: issues-unsubscribe@artemis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org