hi,
i was trying to move the REST dsl mentioned in the snippet below from the
camel-context.xml to the kamelet yaml file.can anyone advice me on how to
do this ?
here, the REST endpoint invokes the ABC service which is defined in the
Kamelet YAML file. was looking to add all camel-related endpoints in the
YAML file. Thanks in advance.

<rest path="/employee">
<description>This Context contains route for the verbs delete and
put</description>
<delete consumes="application/json"  produces="application/json">
<responseMessage code="200" message="OK"/>
<to uri="direct:organisation_endpoint-delete"/>
</delete>
...
....
<route id="organisation_endpoint-delete">
<from uri="direct:organisation_endpoint-delete"/>
<to uri="direct:invokeABCService"/>
</route>



-- 
Regards,
Rohan Emmanuel

Reply via email to