Wrap ConnectionFactory in Quarkus

289 views
Skip to first unread message

Zheng Feng

unread,
Sep 21, 2022, 9:08:34 PM9/21/22
to Quarkus Development mailing list
Hi all,

I want to add pooling and XA integration capabilities with ConnectionFactory by leveraging on messainghub-pooled-jms. So I prospaled to creat a quckiverse extension quarkus-pooled-jms[1]. The current implementation was only working with quarkus-artemis-jms[2] by using ArtemisJmsWrapperBuildItem.

Now I'm looking for a generic solution then the quarkus-pooled-jms could work with other jms clients, such as quarkus-qpid-jms. I wonder if there is a way to wrap ConnectionFactory during the Arc generating such beans. Is it feasible? The similar wrapper in spring-boot can be found here [5]

Thanks,
Zheng Feng

Martin Kouba

unread,
Sep 29, 2022, 6:46:58 AM9/29/22
to zh....@gmail.com, Quarkus Development mailing list
On 22. 09. 22 3:08, Zheng Feng wrote:
> Hi all,
>
> I want to add pooling and XA integration capabilities with
> ConnectionFactory by leveraging on messainghub-pooled-jms. So I
> prospaled to creat a quckiverse extension quarkus-pooled-jms[1]. The
> current implementation was only working with quarkus-artemis-jms[2] by
> using ArtemisJmsWrapperBuildItem.
>
> Now I'm looking for a generic solution then the quarkus-pooled-jms could
> work with other jms clients, such as quarkus-qpid-jms. I wonder if there
> is a way to wrap ConnectionFactory during the Arc generating such beans.

What exactly do you need to wrap? Is there a bean for ConnectionFactory, or?
> <https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jms/XAConnectionFactoryWrapper.java>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com
> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
Martin Kouba
Software Engineer
Red Hat, Czech Republic

Zheng Feng

unread,
Sep 29, 2022, 9:35:27 PM9/29/22
to Martin Kouba, Quarkus Development mailing list


Martin Kouba <mko...@redhat.com> 于2022年9月29日周四 18:46写道:
On 22. 09. 22 3:08, Zheng Feng wrote:
> Hi all,
>
> I want to add pooling and XA integration capabilities with
> ConnectionFactory by leveraging on messainghub-pooled-jms. So I
> prospaled to creat a quckiverse extension quarkus-pooled-jms[1]. The
> current implementation was only working with quarkus-artemis-jms[2] by
> using ArtemisJmsWrapperBuildItem.
>
> Now I'm looking for a generic solution then the quarkus-pooled-jms could
> work with other jms clients, such as quarkus-qpid-jms. I wonder if there
> is a way to wrap ConnectionFactory during the Arc generating such beans.

What exactly do you need to wrap? Is there a bean for ConnectionFactory, or?
yeah, I need to  wrap the ConnectionFactory bean to provide pooling and XA integration capabilities.

Martin Kouba

unread,
Sep 30, 2022, 3:47:54 AM9/30/22
to zh....@gmail.com, Quarkus Development mailing list
You can try to use a CDI decorator [1] for this use case.

[1]
https://quarkus.io/guides/cdi#decorators
and
https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators

On 30. 09. 22 3:35, Zheng Feng wrote:
>
>
> Martin Kouba <mko...@redhat.com <mailto:mko...@redhat.com>> 于2022年9月
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> > <mailto:quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>>.
> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com
> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Max Rydahl Andersen

unread,
Oct 12, 2022, 5:48:39 AM10/12/22
to Martin Kouba, zh....@gmail.com, Quarkus Development mailing list
Zheng, did using CDI decorator work out for you?

/max
> To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com.

Zheng Feng

unread,
Oct 16, 2022, 10:56:32 PM10/16/22
to Max Rydahl Andersen, Martin Kouba, Quarkus Development mailing list
Thanks Martin, I just come back to work and will take a look at CDI decorator.

Max Rydahl Andersen <mand...@redhat.com> 于2022年10月12日周三 17:48写道:

Zheng Feng

unread,
Oct 25, 2022, 9:35:46 AM10/25/22
to Max Rydahl Andersen, Martin Kouba, Quarkus Development mailing list
@Martin Kouba I tried to use a CDI decorator but it seems only working with CLASS bean but quarkus-artemis-jms generates ConnectionFactory with SYNTHETIC bean [1]. I'm not an expert of CDI, so I just wonder if it is possible to support Decorator on Synthetic beans?


Zheng Feng <zh....@gmail.com> 于2022年10月17日周一 10:56写道:

Martin Kouba

unread,
Oct 25, 2022, 9:59:44 AM10/25/22
to zh....@gmail.com, Max Rydahl Andersen, Quarkus Development mailing list
You're right. Decorators are not supported for synthetic beans and
producers.

I'm afraid that quarkus-artemis-jms will need to provide an SPI so that
it's possible to wrap/enhance the ConnectionFactory bean.

On 25. 10. 22 15:35, Zheng Feng wrote:
> @Martin Kouba <mailto:mko...@redhat.com> I tried to use a CDI decorator
> but it seems only working with *CLASS bean* but quarkus-artemis-jms
> generates ConnectionFactory with *SYNTHETIC bean [1]*. I'm not an expert
> of CDI, so I just wonder if it is possible to support Decorator on
> Synthetic beans?
>
> [1]
> https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsProcessor.java#L66 <https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsProcessor.java#L66>
>
> Zheng Feng <zh....@gmail.com <mailto:zh....@gmail.com>> 于2022年10月17
> 日周一 10:56写道:
>
> Thanks Martin, I just come back to work and will take a look at CDI
> decorator.
>
> Max Rydahl Andersen <mand...@redhat.com
> <mailto:mand...@redhat.com>> 于2022年10月12日周三 17:48写道:
>
> Zheng, did using CDI decorator work out for you?
>
> /max
>
> > You can try to use a CDI decorator [1] for this use case.
> >
> > [1]
> > https://quarkus.io/guides/cdi#decorators
> <https://quarkus.io/guides/cdi#decorators>
> > and
> >
> https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators <https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators>
> >
> > On 30. 09. 22 3:35, Zheng Feng wrote:
> >>
> >>
> >> Martin Kouba <mko...@redhat.com <mailto:mko...@redhat.com>
> <mailto:mko...@redhat.com <mailto:mko...@redhat.com>>> 于2022年9
> >>     <mailto:quarkus-dev%2Bunsu...@googlegroups.com
> <mailto:quarkus-dev%252Buns...@googlegroups.com>>
> >>      > <mailto:quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> >>     <mailto:quarkus-dev%2Bunsu...@googlegroups.com
> <mailto:quarkus-dev%252Buns...@googlegroups.com>>> .
> >>      > To view this discussion on the web visit
> >>      >
> >>
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com>
> >>
>  <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com>>
> >>
> >>      >
> >>
>  <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> >>
>  <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer>>> .
> >>
> >>     --
> >>     Martin Kouba
> >>     Software Engineer
> >>     Red Hat, Czech Republic
> >>
> >> --
> >> You received this message because you are subscribed to the
> Google Groups "Quarkus Development mailing list" group.
> >> To unsubscribe from this group and stop receiving emails
> from it, send an email to
> quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> <mailto:quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>> .
> >> To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer>> .
> >
> > --
> > Martin Kouba
> > Software Engineer
> > Red Hat, Czech Republic
> >
> > --
> > You received this message because you are subscribed to the
> Google Groups "Quarkus Development mailing list" group.
> > To unsubscribe from this group and stop receiving emails from
> it, send an email to quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com <https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vjVAjdJj4KeVfbEeCS%2BD19Pofm6KMpfc-9eWh7QP2phEw%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vjVAjdJj4KeVfbEeCS%2BD19Pofm6KMpfc-9eWh7QP2phEw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Zheng Feng

unread,
Oct 25, 2022, 10:44:34 AM10/25/22
to Martin Kouba, Max Rydahl Andersen, Quarkus Development mailing list
yeah, now it provides ArtemisJmsWrapperBuildItem [1] but I'm looking for a more generic solution, so can we move it to the quarkus-core and wrap ConnectionFactory when generating the synthetic beans? By the way, is there any technology reason for supporting Decorator on synthetic beans? Is it not allowed in the CDI spec?


Martin Kouba <mko...@redhat.com> 于2022年10月25日周二 21:59写道:

Martin Kouba

unread,
Oct 26, 2022, 3:09:59 AM10/26/22
to Zheng Feng, Max Rydahl Andersen, Quarkus Development mailing list
Yes, decorators are not applied to producers neither.

The main problem with synthetic beans is that the CDI container does not
control the instantiation of the bean.

On 25. 10. 22 16:44, Zheng Feng wrote:
> yeah, now it provides ArtemisJmsWrapperBuildItem [1] but I'm looking for
> a more generic solution, so can we move it to the quarkus-core and wrap
> ConnectionFactory when generating the synthetic beans? By the way, is
> there any technology reason for supporting Decorator on synthetic beans?
> Is it not allowed in the CDI spec?
>
> [1]
> https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsWrapperBuildItem.java <https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsWrapperBuildItem.java>
>
> Martin Kouba <mko...@redhat.com <mailto:mko...@redhat.com>> 于2022年10月
> 25日周二 21:59写道:
>
> You're right. Decorators are not supported for synthetic beans and
> producers.
>
> I'm afraid that quarkus-artemis-jms will need to provide an SPI so that
> it's possible to wrap/enhance the ConnectionFactory bean.
>
> On 25. 10. 22 15:35, Zheng Feng wrote:
> > @Martin Kouba <mailto:mko...@redhat.com
> <mailto:mko...@redhat.com>> I tried to use a CDI decorator
> > but it seems only working with *CLASS bean* but quarkus-artemis-jms
> > generates ConnectionFactory with *SYNTHETIC bean [1]*. I'm not an
> expert
> > of CDI, so I just wonder if it is possible to support Decorator on
> > Synthetic beans?
> >
> > [1]
> >
> https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsProcessor.java#L66 <https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsProcessor.java#L66> <https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsProcessor.java#L66 <https://github.com/quarkiverse/quarkus-artemis/blob/main/jms/deployment/src/main/java/io/quarkus/artemis/jms/deployment/ArtemisJmsProcessor.java#L66>>
> >
> > Zheng Feng <zh....@gmail.com <mailto:zh....@gmail.com>
> <mailto:zh....@gmail.com <mailto:zh....@gmail.com>>> 于2022年10月17
> > 日周一 10:56写道:
> >
> >     Thanks Martin, I just come back to work and will take a look
> at CDI
> >     decorator.
> >
> >     Max Rydahl Andersen <mand...@redhat.com
> <mailto:mand...@redhat.com>
> >     <mailto:mand...@redhat.com <mailto:mand...@redhat.com>>> 于
> 2022年10月12日周三 17:48写道:
> >
> >         Zheng, did using CDI decorator work out for you?
> >
> >         /max
> >
> >          > You can try to use a CDI decorator [1] for this use case.
> >          >
> >          > [1]
> >          > https://quarkus.io/guides/cdi#decorators
> <https://quarkus.io/guides/cdi#decorators>
> >         <https://quarkus.io/guides/cdi#decorators
> <https://quarkus.io/guides/cdi#decorators>>
> >          > and
> >          >
> >
> https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators <https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators> <https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators <https://docs.jboss.org/weld/reference/latest/en-US/html_single/#decorators>>
>  <mailto:quarkus-dev%2Bunsu...@googlegroups.com
> <mailto:quarkus-dev%252Buns...@googlegroups.com>
> >         <mailto:quarkus-dev%252Buns...@googlegroups.com
> <mailto:quarkus-dev%25252Bun...@googlegroups.com>>>
> >         <mailto:quarkus-dev%252Buns...@googlegroups.com
> <mailto:quarkus-dev%25252Bun...@googlegroups.com>>>> .
> >          >>      > To view this discussion on the web visit
> >          >>      >
> >          >>
> >
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com>>
> >          >>
> >
>  <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com>>>
> >          >>
> >          >>      >
> >          >>
> >
>  <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer>>
> >          >>
> >
>  <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vhgi_8HU%2BnMf5oyzy6ZigvqkY2ko9gETZu-%3D6vJeKpgLA%40mail.gmail.com?utm_medium=email&utm_source=footer>>>> .
> >          >>
> >          >>     --
> >          >>     Martin Kouba
> >          >>     Software Engineer
> >          >>     Red Hat, Czech Republic
> >          >>
> >          >> --
> >          >> You received this message because you are subscribed
> to the
> >         Google Groups "Quarkus Development mailing list" group.
> >          >> To unsubscribe from this group and stop receiving emails
> >         from it, send an email to
> > quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> >         <mailto:quarkus-dev%2Bunsu...@googlegroups.com
> <mailto:quarkus-dev%252Buns...@googlegroups.com>>
> >         <mailto:quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> >         <mailto:quarkus-dev%2Bunsu...@googlegroups.com
> <mailto:quarkus-dev%252Buns...@googlegroups.com>>> .
> >          >> To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com>> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vi7nUS9GppBStgPpDcx%2BT7Po-uFRcfJBtBpHXW8dukmdg%40mail.gmail.com?utm_medium=email&utm_source=footer>>> .
> >          >
> >          > --
> >          > Martin Kouba
> >          > Software Engineer
> >          > Red Hat, Czech Republic
> >          >
> >          > --
> >          > You received this message because you are subscribed
> to the
> >         Google Groups "Quarkus Development mailing list" group.
> >          > To unsubscribe from this group and stop receiving
> emails from
> >         it, send an email to
> quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> >         <mailto:quarkus-dev%2Bunsu...@googlegroups.com
> <mailto:quarkus-dev%252Buns...@googlegroups.com>>.
> >          > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com <https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com> <https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com <https://groups.google.com/d/msgid/quarkus-dev/ece7a0e4-048e-6796-f969-44823defb75d%40redhat.com>>.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Quarkus Development mailing list" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>
> > <mailto:quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vjVAjdJj4KeVfbEeCS%2BD19Pofm6KMpfc-9eWh7QP2phEw%40mail.gmail.com <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vjVAjdJj4KeVfbEeCS%2BD19Pofm6KMpfc-9eWh7QP2phEw%40mail.gmail.com> <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vjVAjdJj4KeVfbEeCS%2BD19Pofm6KMpfc-9eWh7QP2phEw%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/quarkus-dev/CAL6Z_vjVAjdJj4KeVfbEeCS%2BD19Pofm6KMpfc-9eWh7QP2phEw%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
>
> --
> Martin Kouba
> Software Engineer
> Red Hat, Czech Republic
>

Zheng Feng

unread,
Oct 26, 2022, 10:19:41 PM10/26/22
to Martin Kouba, Max Rydahl Andersen, Quarkus Development mailing list
Thanks Martin for the explanation. @Max Rydahl Andersen is there any way we can do during the instantiation of synthetic beans to apply the similar decorator? or is it a good idea to use such like JmsWrapperBuildItem?

Martin Kouba <mko...@redhat.com> 于2022年10月26日周三 15:09写道:

Jason Greene

unread,
Nov 1, 2022, 5:40:58 PM11/1/22
to Quarkus Development mailing list
I think the only way for this to be general would be to define a Quarkus contract/SPI that all JMS implementations agree to implement. One approach could be a common wrapper build item.

Marco Bungart

unread,
Nov 1, 2022, 5:44:58 PM11/1/22
to quark...@googlegroups.com

Would it then make sense to group everything messaging- (or at least JMS-)related under one common configuration key, just like we do with datasources? This would have some other advantages as well.

To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/34a70bce-6a21-4d84-8ddb-77ce91dba74en%40googlegroups.com.
OpenPGP_0x1D62FE7F6FECFBC5.asc
OpenPGP_signature

Zheng Feng

unread,
Dec 8, 2022, 4:55:30 AM12/8/22
to jason....@redhat.com, Quarkus Development mailing list

Jason Greene <jason....@redhat.com> 于2022年11月2日周三 05:41写道:
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/34a70bce-6a21-4d84-8ddb-77ce91dba74en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages