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>
- links to