Uploaded image for project: 'Red Hat build of Apache Camel'
  1. Red Hat build of Apache Camel
  2. RHBAC-285

camel-jbang transform command does not generate </rests> tag.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.Next.GA
    • 4.14.GA
    • Camel CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Please use the sample blueprint.xml attached on this ticket.blueprint.xml

      Camel-jbang transform command doest not generate <rests> tag.

      % ls
      blueprint.xml
      % camel --version
      4.17.0
      % jbang run --verbose camel@apache/camel transform route blueprint.xml --format xml --output camel4
      % cat camel4/blueprint.xml 
      <camel>
      
          <bean name="keycloakConfigResolver" type="org.keycloak.adapters.osgi.BundleBasedKeycloakConfigResolver">
              <properties>
                  <property key="bundleContext" value="#bean:blueprintBundleContext"/>
                  <property key="configLocation" value="/camel-keycloak.json"/>
              </properties>
          </bean>
          <bean name="hello" type="org.jboss.fuse.quickstarts.security.keycloak.camel.CamelHelloProcessor">
          </bean>
      <rests xmlns="http://camel.apache.org/schema/xml-io">
          <rest path="/info">
              <get outType="java.lang.String">
                  <to uri="bean:hello"/>
              </get>
          </rest>
      

              lheinema@redhat.com Lars Heinemann
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: