Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-12018

[Doc] Not appropriate scope is used in the camel-quarkus-cxf-soap example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 3.27.0.GA
    • 3.20.0.GA
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • -

      Preview

      https://docs.redhat.com/en/documentation/red_hat_build_of_apache_camel/4.10/html/red_hat_build_of_apache_camel_for_quarkus_reference/camel-quarkus-extensions-reference#extensions-cxf-soap-usage-client
      Please modify the 2.29.3.3. Client sample code.

      Before

      import jakarta.enterprise.context.SessionScoped;
      ~skip~
          @produces
          @SessionScoped
          @Named
          CxfEndpoint beanClient() {
      

      After

      import jakarta.enterprise.context.ApplicationScoped;
      ~skip~
          @Produces
          @ApplicationScoped
          @Named
          CxfEndpoint beanClient() {
      

       

              rhn-support-ajonsson Andreas Jonsson
              rhn-support-hfuruich Hisao Furuichi
              Viliam Kasala Viliam Kasala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: