This content has been marked as final.
Show 2 replies
-
1. Re: Java Inheritance with respect to Swithyard/Camel
tcunning Feb 11, 2016 11:38 AM (in response to ramandeep)Raman,
Maybe try creating BaseInterface or something like that without the @Path annotation, and then extend that :
@Path("/rest")
public interface AccountInterface extends BaseInterace {
....
@Path("/v1/accountList")
public interface TestInterface extends BaseInterface {
.....
-
2. Re: Java Inheritance with respect to Swithyard/Camel
ramandeep Feb 15, 2016 2:56 AM (in response to tcunning)Hi Tom ,
Thanks for the suggestion, However Inheritance doesn't work here because of @Path annotation so I just added a new Restful Interface. .
Regards
Raman